diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-09-18 18:31:59 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-18 21:31:00 -0700 |
| commit | 1be24f0758d3075d2e7f141f8831bb8a233ce86e (patch) | |
| tree | 28b93c29c3b427f7cd84142a49b1b86222d700eb /src/rustc/back | |
| parent | e17a3b3194cc5dc213d13ff6499c93482215c223 (diff) | |
| download | rust-1be24f0758d3075d2e7f141f8831bb8a233ce86e.tar.gz rust-1be24f0758d3075d2e7f141f8831bb8a233ce86e.zip | |
replace explicit calls to vec::each with vec::each_ref, partially demode str
Diffstat (limited to 'src/rustc/back')
| -rw-r--r-- | src/rustc/back/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/back/link.rs b/src/rustc/back/link.rs index b9283745107..c56cf30d689 100644 --- a/src/rustc/back/link.rs +++ b/src/rustc/back/link.rs @@ -539,7 +539,7 @@ fn get_symbol_hash(ccx: @crate_ctxt, t: ty::t) -> ~str { // gas doesn't! fn sanitize(s: ~str) -> ~str { let mut result = ~""; - do str::chars_iter(s) |c| { + for str::chars_each(s) |c| { match c { '@' => result += ~"_sbox_", '~' => result += ~"_ubox_", |
