Update E0185.md

This commit is contained in:
Dylan DPC 2020-01-10 23:56:00 +05:30 committed by GitHub
parent c899f67673
commit 4fadb507f4
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 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 {