Skip to content

Commit

Permalink
Rollup merge of #82630 - JohnTitor:fix-typo-in-find-anon-type-doc, r=…
Browse files Browse the repository at this point in the history
…petrochenkov

Fix a typo in the `find_anon_type` doc
  • Loading branch information
JohnTitor authored Mar 1, 2021
2 parents 1b9f420 + 5091209 commit cebbcf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use rustc_middle::ty::{self, Region, TyCtxt};
/// { x.push(y); }
/// ```
/// The function returns the nested type corresponding to the anonymous region
/// for e.g., `&u8` and Vec<`&u8`.
/// for e.g., `&u8` and `Vec<&u8>`.
pub(crate) fn find_anon_type(
tcx: TyCtxt<'tcx>,
region: Region<'tcx>,
Expand Down

0 comments on commit cebbcf1

Please sign in to comment.