about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-01-10 10:05:49 +0100
committerGitHub <noreply@github.com>2020-01-10 10:05:49 +0100
commitc899f676733c8b7a732294ca7484c64ae3d6dddf (patch)
treef4043b89f61b0f21cecce640fdcebdafa225e275
parentf79ba857dd1271ea8d5207121c2487621ebc23dd (diff)
downloadrust-c899f676733c8b7a732294ca7484c64ae3d6dddf.tar.gz
rust-c899f676733c8b7a732294ca7484c64ae3d6dddf.zip
Improve E0185 wording
-rw-r--r--src/librustc_error_codes/error_codes/E0185.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0185.md b/src/librustc_error_codes/error_codes/E0185.md
index ea29e2d4516..ac5d8bd766f 100644
--- a/src/librustc_error_codes/error_codes/E0185.md
+++ b/src/librustc_error_codes/error_codes/E0185.md
@@ -19,8 +19,8 @@ impl Foo for Bar {
 ```
 
 When a type implements a trait's associated function, it has to use the same
-signature. So in this case, since `Foo::foo` doesn't take argument and doesn't
-return anything, its implementation on `Bar` should the same:
+signature. So in this case, since `Foo::foo` doesn't take any argument and
+doesn't return anything, its implementation on `Bar` should be the same:
 
 ```
 trait Foo {