Fallout from stabilization
diff --git a/src/librustc/middle/cfg/construct.rs b/src/librustc/middle/cfg/construct.rs
index 61c56cf..b42fb8c 100644
--- a/src/librustc/middle/cfg/construct.rs
+++ b/src/librustc/middle/cfg/construct.rs
@@ -154,7 +154,6 @@
pats: I,
pred: CFGIndex) -> CFGIndex {
//! Handles case where all of the patterns must match.
- let mut pats = pats;
pats.fold(pred, |pred, pat| self.pat(&**pat, pred))
}
@@ -527,7 +526,7 @@
}
fn exprs<'a, I: Iterator<&'a ast::Expr>>(&mut self,
- mut exprs: I,
+ exprs: I,
pred: CFGIndex) -> CFGIndex {
//! Constructs graph for `exprs` evaluated in order
exprs.fold(pred, |p, e| self.expr(e, p))