We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7789c commit 68c3739Copy full SHA for 68c3739
src/libstd/thread/local.rs
@@ -237,7 +237,7 @@ impl<T: 'static> LocalKey<T> {
237
pub fn with<F, R>(&'static self, f: F) -> R
238
where F: FnOnce(&T) -> R {
239
self.try_with(f).expect("cannot access a Thread Local Storage value \
240
- during or after it is destroyed")
+ during or after destruction")
241
}
242
243
/// Acquires a reference to the value in this TLS key.
0 commit comments