Skip to content

Commit

Permalink
Fix a typo in the find_anon_type doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Feb 28, 2021
1 parent 247337f commit 5091209
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 5091209

Please sign in to comment.