Skip to content

Commit d87ee7b

Browse files
committed
Remove unnecessary to_string() call.
1 parent 34e30b4 commit d87ee7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast_map/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub fn path_to_string<PI: Iterator<Item=PathElem>>(path: PI) -> String {
8888
}
8989
s.push_str(&e[]);
9090
s
91-
}).to_string()
91+
})
9292
}
9393

9494
#[derive(Copy, Show)]

0 commit comments

Comments
 (0)