Replace wording "abuse" with "misuse" (#339)

The wording is imho pretty clear connotated with sexual abuse and every time I read it I feel like it's misplaced. So I feel like replacing "abuse" with "misuse" is a better and clear wording.
pull/250/merge
simonsan 1 year ago committed by GitHub
parent 0d6ccfc62b
commit be0f1b1db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
## Description
Abuse the `Deref` trait to emulate inheritance between structs, and thus reuse
Misuse the `Deref` trait to emulate inheritance between structs, and thus reuse
methods.
## Example
@ -81,7 +81,7 @@ impl Bar {
## Disadvantages
Most importantly this is a surprising idiom - future programmers reading this in
code will not expect this to happen. That's because we are abusing the `Deref`
code will not expect this to happen. That's because we are misusing the `Deref`
trait rather than using it as intended (and documented, etc.). It's also because
the mechanism here is completely implicit.

Loading…
Cancel
Save