mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Rollup merge of #125898 - RalfJung:typo, r=Nilstrieb
typo: depending from -> on
This commit is contained in:
commit
72ea7e9220
@ -342,7 +342,7 @@ pub unsafe trait ReverseSearcher<'a>: Searcher<'a> {
|
||||
///
|
||||
/// `(&str)::Searcher` is not a `DoubleEndedSearcher` because
|
||||
/// the pattern `"aa"` in the haystack `"aaa"` matches as either
|
||||
/// `"[aa]a"` or `"a[aa]"`, depending from which side it is searched.
|
||||
/// `"[aa]a"` or `"a[aa]"`, depending on which side it is searched.
|
||||
pub trait DoubleEndedSearcher<'a>: ReverseSearcher<'a> {}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! Thread local support for platforms with native TLS.
|
||||
//!
|
||||
//! To achieve the best performance, we choose from four different types for
|
||||
//! the TLS variable, depending from the method of initialization used (`const`
|
||||
//! the TLS variable, depending on the method of initialization used (`const`
|
||||
//! or lazy) and the drop requirements of the stored type:
|
||||
//!
|
||||
//! | | `Drop` | `!Drop` |
|
||||
|
Loading…
Reference in New Issue
Block a user