diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-10-18 10:35:33 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-10-18 10:37:04 -0700 |
| commit | 314c011d71c699291361870e13892b4e5867d046 (patch) | |
| tree | f0c57d6737e882e8511a4f51202e0060d52877ce /src/rt/rust.cpp | |
| parent | 71a4a661359dbe92493f7321f8b3677dec734df9 (diff) | |
| download | rust-314c011d71c699291361870e13892b4e5867d046.tar.gz rust-314c011d71c699291361870e13892b4e5867d046.zip | |
Immutable and mutable? are covariant on their inner types
Whereas [mutable T] is invariant with respect to T, [T] and [mutable? T] are covariant with respect to T.
Diffstat (limited to 'src/rt/rust.cpp')
0 files changed, 0 insertions, 0 deletions
