reference icon indicating copy to clipboard operation
reference copied to clipboard

Confusing/ambiguous sentence in 'Trait Implementation Coherence' section

Open kklibo opened this issue 4 years ago • 0 comments

Items->Implementations->'Trait Implementation Coherence' describes "overlapping implementation instances" with this sentence:

Two trait implementations overlap when there is a non-empty intersection of the traits the implementation is for, the implementations can be instantiated with the same type.

I wanted to fix the grammar, but I couldn't decide what this sentence was supposed to mean. My best guess (changes in bold) is:

Two trait implementations overlap when there is a non-empty intersection of the associated functions the implementation is for, and the implementations can be instantiated with the same type.

kklibo avatar Jun 04 '21 00:06 kklibo