From c899f676733c8b7a732294ca7484c64ae3d6dddf Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 10 Jan 2020 10:05:49 +0100 Subject: Improve E0185 wording --- src/librustc_error_codes/error_codes/E0185.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librustc_error_codes') 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 { -- cgit 1.4.1-3-g733a5