diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-12 02:25:51 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-01-12 02:26:04 +0200 |
| commit | 509fc92a9bb6f9a251308476ebf4e76795df60bf (patch) | |
| tree | 06b6f708400f1c7ce8ece748232263d4af3d3a56 /src/libstd/local_data.rs | |
| parent | 68ebe8141a9d469ed7a7081e7a4a9ff4c82fbff7 (diff) | |
| download | rust-509fc92a9bb6f9a251308476ebf4e76795df60bf.tar.gz rust-509fc92a9bb6f9a251308476ebf4e76795df60bf.zip | |
Removed remnants of `@mut` and `~mut` from comments and the type system.
Diffstat (limited to 'src/libstd/local_data.rs')
| -rw-r--r-- | src/libstd/local_data.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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<T: 'static, U>(key: Key<T>, 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<T: 'static, U>(key: Key<T>, f: |Option<&mut T>| -> U) -> U { get_with(key, MutLoan, |x| { match x { |
