Improve E0185 wording
This commit is contained in:
parent
f79ba857dd
commit
c899f67673
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue