Skip to content

Commit

Permalink
Auto merge of rust-lang#33203 - Ryman:patch-3, r=alexcrichton
Browse files Browse the repository at this point in the history
libstd: fix typos in thread::LocalKey docs
  • Loading branch information
bors committed Apr 26, 2016
2 parents 03bef4c + 2b71219 commit 092b073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/thread/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ use mem;
/// # Platform-specific behavior
///
/// Note that a "best effort" is made to ensure that destructors for types
/// stored in thread local storage are run, but not all platforms can gurantee
/// stored in thread local storage are run, but not all platforms can guarantee
/// that destructors will be run for all types in thread local storage. For
/// example, there are a number of known caveats where destructors are not run:
///
Expand Down Expand Up @@ -254,7 +254,7 @@ impl<T: 'static> LocalKey<T> {
/// destruction has completed. Keys without destructors (e.g. with types
/// that are `Copy`), may never enter the `Destroyed` state.
///
/// Keys in the `Uninitialized` can be accessed so long as the
/// Keys in the `Uninitialized` state can be accessed so long as the
/// initialization does not panic. Keys in the `Valid` state are guaranteed
/// to be able to be accessed. Keys in the `Destroyed` state will panic on
/// any call to `with`.
Expand Down

0 comments on commit 092b073

Please sign in to comment.