diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 299cdbda3cc7..ab64d09f9d43 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -308,19 +308,6 @@ impl Clone for ContravariantType { /// /// For more information about variance, refer to this Wikipedia /// article . -/// -/// # Example -/// -/// The Cell type is an example which uses unsafe code to achieve -/// "interior" mutability: -/// -/// ``` -/// struct Cell { value: T } -/// ``` -/// -/// The type system would infer that `value` is only read here and -/// never written, but in fact `Cell` uses unsafe code to achieve -/// interior mutability. #[unstable(feature = "core", reason = "likely to change with new variance strategy")] #[lang="invariant_type"]