From 8650040b8a2d248a2ea4e31dd63e26f38af2c560 Mon Sep 17 00:00:00 2001 From: nham Date: Tue, 5 Aug 2014 15:23:06 -0400 Subject: [PATCH] Remove references to `~[]` in core::kinds::marker docs. --- src/libcore/kinds.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/kinds.rs b/src/libcore/kinds.rs index f6a88b3419607..958a2ba02f616 100644 --- a/src/libcore/kinds.rs +++ b/src/libcore/kinds.rs @@ -125,7 +125,7 @@ pub mod marker { /// /// The type system would currently infer that the value of /// the type parameter `T` is irrelevant, and hence a `S` is - /// a subtype of `S<~[int]>` (or, for that matter, `S` for + /// a subtype of `S>` (or, for that matter, `S` for /// any `U`). But this is incorrect because `get()` converts the /// `*()` into a `*T` and reads from it. Therefore, we should include the /// a marker field `CovariantType` to inform the type checker that @@ -166,7 +166,7 @@ pub mod marker { /// /// The type system would currently infer that the value of /// the type parameter `T` is irrelevant, and hence a `S` is - /// a subtype of `S<~[int]>` (or, for that matter, `S` for + /// a subtype of `S>` (or, for that matter, `S` for /// any `U`). But this is incorrect because `get()` converts the /// `*()` into a `fn(T)` and then passes a value of type `T` to it. ///