Documentation uses HRTB lifetime before declaring it #132879
Labels
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The
str::rsplit_once
docs say<P as Pattern>::Searcher<'a>: for<'a> ReverseSearcher<'a>
where the code it's documenting saysfor<'a> P::Searcher<'a>: ReverseSearcher<'a>
.This almost certainly shows up in other places but this is where I first noticed it.
The text was updated successfully, but these errors were encountered: