summary refs log tree commit diff
path: root/src/libsyntax/ast_map/mod.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-06 09:32:37 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-25 17:41:54 -0800
commitb299c2b57db90025cbf59d4b5152c9c37db6bc63 (patch)
treef3476a915920ef8a42761cb740dc6f4e1f64844f /src/libsyntax/ast_map/mod.rs
parenta86f72d9a2adc6d65f2ba0990caca35c1a3f622d (diff)
downloadrust-b299c2b57db90025cbf59d4b5152c9c37db6bc63.tar.gz
rust-b299c2b57db90025cbf59d4b5152c9c37db6bc63.zip
Fallout from stabilization
Diffstat (limited to 'src/libsyntax/ast_map/mod.rs')
-rw-r--r--src/libsyntax/ast_map/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs
index 8a2202d28d5..6b97b931ef7 100644
--- a/src/libsyntax/ast_map/mod.rs
+++ b/src/libsyntax/ast_map/mod.rs
@@ -87,7 +87,7 @@ impl<'a, T: Copy> Iterator<T> for Values<'a, T> {
 /// The type of the iterator used by with_path.
 pub type PathElems<'a, 'b> = iter::Chain<Values<'a, PathElem>, LinkedPath<'b>>;
 
-pub fn path_to_string<PI: Iterator<PathElem>>(mut path: PI) -> String {
+pub fn path_to_string<PI: Iterator<PathElem>>(path: PI) -> String {
     let itr = token::get_ident_interner();
 
     path.fold(String::new(), |mut s, e| {