Rollup merge of #125898 - RalfJung:typo, r=Nilstrieb · model-checking/verify-rust-std@494f05c (original) (raw)

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -342,7 +342,7 @@ pub unsafe trait ReverseSearcher<'a>: Searcher<'a> {
342 342 ///
343 343 /// `(&str)::Searcher` is not a `DoubleEndedSearcher` because
344 344 /// 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.
346 346 pub trait DoubleEndedSearcher<'a>: ReverseSearcher<'a> {}
347 347
348 348 /////////////////////////////////////////////////////////////////////////////

| Original file line number | Diff line number | Diff line change | | | | | ------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | -------- | --------- | | | @@ -1,7 +1,7 @@ | | | | | | | 1 | 1 | //! Thread local support for platforms with native TLS. | | | | | 2 | 2 | //! | | | | | 3 | 3 | //! 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` | | | | | | 5 | 5 | //! or lazy) and the drop requirements of the stored type: | | | | | 6 | 6 | //! | | | | | 7 | 7 | //! | | `Drop` | `!Drop` | |