File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ use mem;
60
60
/// # Platform-specific behavior
61
61
///
62
62
/// Note that a "best effort" is made to ensure that destructors for types
63
- /// stored in thread local storage are run, but not all platforms can gurantee
63
+ /// stored in thread local storage are run, but not all platforms can guarantee
64
64
/// that destructors will be run for all types in thread local storage. For
65
65
/// example, there are a number of known caveats where destructors are not run:
66
66
///
@@ -254,7 +254,7 @@ impl<T: 'static> LocalKey<T> {
254
254
/// destruction has completed. Keys without destructors (e.g. with types
255
255
/// that are `Copy`), may never enter the `Destroyed` state.
256
256
///
257
- /// Keys in the `Uninitialized` can be accessed so long as the
257
+ /// Keys in the `Uninitialized` state can be accessed so long as the
258
258
/// initialization does not panic. Keys in the `Valid` state are guaranteed
259
259
/// to be able to be accessed. Keys in the `Destroyed` state will panic on
260
260
/// any call to `with`.
You can’t perform that action at this time.
0 commit comments