We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 572d3d9 commit df7789cCopy full SHA for df7789c
src/libstd/thread/local.rs
@@ -236,8 +236,8 @@ impl<T: 'static> LocalKey<T> {
236
#[stable(feature = "rust1", since = "1.0.0")]
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 TLS value during or \
240
- after it is destroyed")
+ self.try_with(f).expect("cannot access a Thread Local Storage value \
+ during or after it is destroyed")
241
}
242
243
/// Acquires a reference to the value in this TLS key.
0 commit comments