fix up crate/trait discrepancy, clarify language
This commit is contained in:
@@ -106,8 +106,8 @@ mod foo {
|
|||||||
use foo::MyTrait::doSomething;
|
use foo::MyTrait::doSomething;
|
||||||
```
|
```
|
||||||
|
|
||||||
In general, it's not legal to directly import functions from a crate or
|
In general, it's not legal to directly import methods belonging to a
|
||||||
concrete type.
|
trait or concrete type.
|
||||||
"##,
|
"##,
|
||||||
|
|
||||||
E0255: r##"
|
E0255: r##"
|
||||||
|
|||||||
Reference in New Issue
Block a user