From 509fc92a9bb6f9a251308476ebf4e76795df60bf Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Sun, 12 Jan 2014 02:25:51 +0200 Subject: Removed remnants of `@mut` and `~mut` from comments and the type system. --- src/libstd/vec.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/libstd/vec.rs') diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 257a1e6340f..61e78b68adc 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -1837,11 +1837,8 @@ impl OwnedEqVector for ~[T] { fn dedup(&mut self) { unsafe { // Although we have a mutable reference to `self`, we cannot make - // *arbitrary* changes. There exists the possibility that this - // vector is contained with an `@mut` box and hence is still - // readable by the outside world during the `Eq` comparisons. - // Moreover, those comparisons could fail, so we must ensure - // that the vector is in a valid state at all time. + // *arbitrary* changes. The `Eq` comparisons could fail, so we + // must ensure that the vector is in a valid state at all time. // // The way that we handle this is by using swaps; we iterate // over all the elements, swapping as we go so that at the end -- cgit 1.4.1-3-g733a5