-
Notifications
You must be signed in to change notification settings - Fork 551
Open
Description
https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules
"The orphan rule states that a trait implementation is only allowed if either the trait or at least one of the types in the implementation is defined in the current crate."
To me (non native English speaker, Rust learner) this sentence is ambiguous, in that "is defined" could be taken to mean both "is being defined" and "is already defined elsewhere than", which have opposite meanings.
I suggest this small change (in italics):
"The orphan rule states that a trait implementation is only allowed if either the trait or at least one of the types in the implementation is originally declared in the current crate."
Metadata
Metadata
Assignees
Labels
No labels