Improve E0185 wording

This commit is contained in:
Guillaume Gomez 2020-01-10 10:05:49 +01:00 committed by GitHub
parent f79ba857dd
commit c899f67673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {