Skip to content

Commit

Permalink
Format comment in a nicer way.
Browse files Browse the repository at this point in the history
Just kidding I'm doing this only to unstuck @bors/homu/buildbot.
  • Loading branch information
eddyb committed Oct 19, 2016
1 parent 1e4241a commit ab5dcff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/ty/subst.rs
Expand Up @@ -306,8 +306,8 @@ impl<'tcx> TypeFoldable<'tcx> for &'tcx Substs<'tcx> {
fn super_fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self, folder: &mut F) -> Self {
let params: Vec<_> = self.iter().map(|k| k.fold_with(folder)).collect();

// If folding doesn't change the substs, it's faster to avoid calling
// `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.
if params[..] == self[..] {
self
} else {
Expand Down

0 comments on commit ab5dcff

Please sign in to comment.