commit | 68c3739f1268e496c096d89ab9e556f196e35974 | [log] [tgz] |
---|---|---|
author | Tomas Tauber <2410580+tomtau@users.noreply.github.com> | Mon Sep 16 12:13:02 2019 +0800 |
committer | GitHub <noreply@github.com> | Mon Sep 16 12:13:02 2019 +0800 |
tree | 12dd0cc9f600d0c8849f215e323fc0165f6609fa | |
parent | df7789c902eb198a107422dd8e4e4c81ec3cb6ad [diff] |
updated the panic message wording
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index a2bbe37..e92c0d1 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs
@@ -237,7 +237,7 @@ pub fn with<F, R>(&'static self, f: F) -> R where F: FnOnce(&T) -> R { self.try_with(f).expect("cannot access a Thread Local Storage value \ - during or after it is destroyed") + during or after destruction") } /// Acquires a reference to the value in this TLS key.