1
Fork 0

Remove redundancy in cache key

This commit is contained in:
Tyler Mandry 2020-09-18 06:07:19 +00:00
parent f583513dc2
commit 3ccb1c37e6
2 changed files with 4 additions and 5 deletions

View file

@ -265,7 +265,7 @@ pub trait Printer<'tcx>: Sized {
/// type. It's just a heuristic so it makes some questionable
/// decisions and we may want to adjust it later.
///
/// Visited set is needed in to avoid full iteration over
/// Visited set is needed to avoid full iteration over
/// deeply nested tuples that have no DefId.
fn characteristic_def_id_of_type_cached<'a>(
ty: Ty<'a>,