Skip to content

Commit cebbcf1

Browse files
authored
Rollup merge of #82630 - JohnTitor:fix-typo-in-find-anon-type-doc, r=petrochenkov
Fix a typo in the `find_anon_type` doc
2 parents 1b9f420 + 5091209 commit cebbcf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/error_reporting/nice_region_error/find_anon_type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use rustc_middle::ty::{self, Region, TyCtxt};
1919
/// { x.push(y); }
2020
/// ```
2121
/// The function returns the nested type corresponding to the anonymous region
22-
/// for e.g., `&u8` and Vec<`&u8`.
22+
/// for e.g., `&u8` and `Vec<&u8>`.
2323
pub(crate) fn find_anon_type(
2424
tcx: TyCtxt<'tcx>,
2525
region: Region<'tcx>,

0 commit comments

Comments
 (0)