Skip to content

Commit

Permalink
Make InternalSubsts rust docs a bit clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Dec 13, 2022
1 parent b0c3228 commit 4ae0c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/subst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl<'tcx, D: TyDecoder<I = TyCtxt<'tcx>>> Decodable<D> for GenericArg<'tcx> {
}
}

/// A substitution mapping generic parameters to new values.
/// List of generic arguments that are gonna be used to substitute generic parameters.
pub type InternalSubsts<'tcx> = List<GenericArg<'tcx>>;

pub type SubstsRef<'tcx> = &'tcx InternalSubsts<'tcx>;
Expand Down

0 comments on commit 4ae0c55

Please sign in to comment.