Update E0185.md
This commit is contained in:
parent
c899f67673
commit
4fadb507f4
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 any argument and
|
||||
doesn't return anything, its implementation on `Bar` should be the same:
|
||||
signature. So in this case, since `Foo::foo` does not take any argument and
|
||||
does not return anything, its implementation on `Bar` should be the same:
|
||||
|
||||
```
|
||||
trait Foo {
|
||||
|
|
Loading…
Add table
Reference in a new issue