File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
std/src/sys/thread_local/fast_local Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ pub unsafe trait ReverseSearcher<'a>: Searcher<'a> {
342342///
343343/// `(&str)::Searcher` is not a `DoubleEndedSearcher` because
344344/// the pattern `"aa"` in the haystack `"aaa"` matches as either
345- /// `"[aa]a"` or `"a[aa]"`, depending from which side it is searched.
345+ /// `"[aa]a"` or `"a[aa]"`, depending on which side it is searched.
346346pub trait DoubleEndedSearcher < ' a > : ReverseSearcher < ' a > { }
347347
348348/////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 11//! Thread local support for platforms with native TLS.
22//!
33//! To achieve the best performance, we choose from four different types for
4- //! the TLS variable, depending from the method of initialization used (`const`
4+ //! the TLS variable, depending on the method of initialization used (`const`
55//! or lazy) and the drop requirements of the stored type:
66//!
77//! | | `Drop` | `!Drop` |
You can’t perform that action at this time.
0 commit comments