Skip to content
Permalink
Browse files

Improve E0185 wording

  • Loading branch information
GuillaumeGomez committed Jan 10, 2020
1 parent f79ba85 commit c899f676733c8b7a732294ca7484c64ae3d6dddf
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/librustc_error_codes/error_codes/E0185.md
@@ -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 {

0 comments on commit c899f67

Please sign in to comment.
You can’t perform that action at this time.