We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4241a commit ab5dcffCopy full SHA for ab5dcff
src/librustc/ty/subst.rs
@@ -306,8 +306,8 @@ impl<'tcx> TypeFoldable<'tcx> for &'tcx Substs<'tcx> {
306
fn super_fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self, folder: &mut F) -> Self {
307
let params: Vec<_> = self.iter().map(|k| k.fold_with(folder)).collect();
308
309
- // If folding doesn't change the substs, it's faster to avoid calling
310
- // `mk_substs` and instead reuse the existing substs.
+ // If folding doesn't change the substs, it's faster to avoid
+ // calling `mk_substs` and instead reuse the existing substs.
311
if params[..] == self[..] {
312
self
313
} else {
0 commit comments