We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d0dd78 + abf00c6 commit 91aea5cCopy full SHA for 91aea5c
src/doc/nomicon/subtyping.md
@@ -53,7 +53,7 @@ inferred variance, so `Fn(T)` is invariant in `T`).
53
Some important variances:
54
55
* `&'a T` is variant over `'a` and `T` (as is `*const T` by metaphor)
56
-* `&'a mut T` is variant with over `'a` but invariant over `T`
+* `&'a mut T` is variant over `'a` but invariant over `T`
57
* `Fn(T) -> U` is invariant over `T`, but variant over `U`
58
* `Box`, `Vec`, and all other collections are variant over the types of
59
their contents
0 commit comments