Skip to content

Commit

Permalink
Update E0185.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan-DPC committed Jan 10, 2020
1 parent c899f67 commit 4fadb50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0185.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4fadb50

Please sign in to comment.