Fix wording nit for E0253
This commit is contained in:
parent
39d4faf989
commit
3ae7b72970
1 changed files with 1 additions and 2 deletions
|
|
@ -106,8 +106,7 @@ mod foo {
|
|||
use foo::MyTrait::do_something;
|
||||
```
|
||||
|
||||
In general, it's not legal to directly import methods belonging to a
|
||||
trait or concrete type.
|
||||
It's illegal to directly import methods belonging to a trait or concrete type.
|
||||
"##,
|
||||
|
||||
E0255: r##"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue