diff options
| author | bors <bors@rust-lang.org> | 2016-04-24 10:10:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-24 10:10:50 -0700 |
| commit | 91aea5cf87953788477ccaa3a37c3f2c855e7a0a (patch) | |
| tree | c6ebff9be263d260011e3db287386e880ad6322d | |
| parent | 8d0dd7876e733555b0284e9b6cbf0f33ed792b67 (diff) | |
| parent | abf00c65c28fbbfe5d26caa118cf40c22ecb8079 (diff) | |
| download | rust-91aea5cf87953788477ccaa3a37c3f2c855e7a0a.tar.gz rust-91aea5cf87953788477ccaa3a37c3f2c855e7a0a.zip | |
Auto merge of #33163 - c4rlo:patch-2, r=Manishearth
subtyping.md: typo fix
| -rw-r--r-- | src/doc/nomicon/subtyping.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/nomicon/subtyping.md b/src/doc/nomicon/subtyping.md index 5def5c39033..eb940e811a4 100644 --- a/src/doc/nomicon/subtyping.md +++ b/src/doc/nomicon/subtyping.md @@ -53,7 +53,7 @@ inferred variance, so `Fn(T)` is invariant in `T`). Some important variances: * `&'a T` is variant over `'a` and `T` (as is `*const T` by metaphor) -* `&'a mut T` is variant with over `'a` but invariant over `T` +* `&'a mut T` is variant over `'a` but invariant over `T` * `Fn(T) -> U` is invariant over `T`, but variant over `U` * `Box`, `Vec`, and all other collections are variant over the types of their contents |
