From c899f676733c8b7a732294ca7484c64ae3d6dddf Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 10 Jan 2020 10:05:49 +0100 Subject: [PATCH] Improve E0185 wording --- src/librustc_error_codes/error_codes/E0185.md | 4 ++-- 1 file 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 ea29e2d451622..ac5d8bd766f40 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 {