typo: depending from -> on · model-checking/verify-rust-std@1c707b6

File tree

2 files changed

lines changed

  • std/src/sys/thread_local/fast_local

2 files changed

lines changed

Original file line numberDiff line numberDiff 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.

346346

pub trait DoubleEndedSearcher<'a>: ReverseSearcher<'a> {}

347347
348348

/////////////////////////////////////////////////////////////////////////////

Original file line numberDiff line numberDiff line change

@@ -1,7 +1,7 @@

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` |