Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update E0185.md
  • Loading branch information
Dylan-DPC authored Jan 10, 2020
commit 4fadb507f48a0f959518bbf9b7d0969a159d76f1
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