Skip to content

Commit 4ae0c55

Browse files
committed
Make InternalSubsts rust docs a bit clearer
1 parent b0c3228 commit 4ae0c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/subst.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ impl<'tcx, D: TyDecoder<I = TyCtxt<'tcx>>> Decodable<D> for GenericArg<'tcx> {
252252
}
253253
}
254254

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

258258
pub type SubstsRef<'tcx> = &'tcx InternalSubsts<'tcx>;

0 commit comments

Comments
 (0)