2 ms·
When you specialize an instance in Rust, by definition it already has a valid instance that covers that type. So implementing a single method is fine - the othe
by jeremyjh 9y ago
When you specialize an instance in Rust, by definition it already has a valid instance that covers that type. So implementing a single method is fine - the other ones are provided by the instance you are specializing.
Newtypes also exist in Rust but this is an alternative that is not the same as the overlapping instances extension.