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/local_data.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstd/local_data.rs') diff --git a/src/libstd/local_data.rs b/src/libstd/local_data.rs index 95fdce99ea6..159337bf503 100644 --- a/src/libstd/local_data.rs +++ b/src/libstd/local_data.rs @@ -187,8 +187,7 @@ pub fn get(key: Key, f: |Option<&T>| -> U) -> U { /// if the key provided is not present in TLS currently. /// /// It is considered a runtime error to attempt to get a value which is already -/// on loan via this or the `get` methods. This is similar to how it's a runtime -/// error to take two mutable loans on an `@mut` box. +/// on loan via this or the `get` methods. pub fn get_mut(key: Key, f: |Option<&mut T>| -> U) -> U { get_with(key, MutLoan, |x| { match x { -- cgit 1.4.1-3-g733a5