File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ use mem;
6060/// # Platform-specific behavior
6161///
6262/// 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
6464/// that destructors will be run for all types in thread local storage. For
6565/// example, there are a number of known caveats where destructors are not run:
6666///
@@ -254,7 +254,7 @@ impl<T: 'static> LocalKey<T> {
254254 /// destruction has completed. Keys without destructors (e.g. with types
255255 /// that are `Copy`), may never enter the `Destroyed` state.
256256 ///
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
258258 /// initialization does not panic. Keys in the `Valid` state are guaranteed
259259 /// to be able to be accessed. Keys in the `Destroyed` state will panic on
260260 /// any call to `with`.
You can’t perform that action at this time.
0 commit comments