1
Fork 0

Fix broken link

This commit is contained in:
Noah Lev 2022-01-15 10:18:24 -08:00
parent 28d2353f3b
commit 554c7659e8

View file

@ -384,7 +384,7 @@ impl<'a, 'tcx> LinkCollector<'a, 'tcx> {
/// In particular, this will return an error whenever there aren't three
/// full path segments left in the link.
///
/// [enum struct variant]: hir::VariantData::Struct
/// [enum struct variant]: rustc_hir::VariantData::Struct
fn variant_field<'path>(
&self,
path_str: &'path str,