diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-09-29 10:30:42 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-09-29 10:30:42 -0700 |
| commit | 094f14c554c3a1f103a5d6778d4b4e131c297f11 (patch) | |
| tree | c333747a56457ad4eb3fbabbf66157e80076232a /src/test/ui/methods | |
| parent | 549f861f7d53811521cf929cf58fb6828a2a88d9 (diff) | |
| download | rust-094f14c554c3a1f103a5d6778d4b4e131c297f11.tar.gz rust-094f14c554c3a1f103a5d6778d4b4e131c297f11.zip | |
Add article after "to"
Also added missing backtick in "you can cast" message.
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr index 33e8282c9d2..3f4dda81347 100644 --- a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr +++ b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.stderr @@ -14,7 +14,7 @@ LL | let y: usize = x.foo(); | | | expected due to this | -help: you can convert an `isize` to `usize` and panic if the converted value wouldn't fit +help: you can convert an `isize` to a `usize` and panic if the converted value wouldn't fit | LL | let y: usize = x.foo().try_into().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
