diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-10 23:25:25 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-10 23:57:03 +1000 |
| commit | ccd0ac59e9a918f3c2a174e31213286dc6867d37 (patch) | |
| tree | 613e9e26394be216bfb2dc56dba0391ca6486545 /src/libsyntax/ext/quote.rs | |
| parent | 5a711ea7c317ea90f03d5118dbb2e19e1622bc29 (diff) | |
std: remove str::{connect,concat}*.
Diffstat (limited to 'src/libsyntax/ext/quote.rs')
| -rw-r--r-- | src/libsyntax/ext/quote.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index 09c9dd922c7..2c6f40091ac 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -92,7 +92,7 @@ pub mod rt { impl<'self> ToSource for &'self [@ast::item] { fn to_source(&self) -> ~str { - str::connect(self.map(|i| i.to_source()), "\n\n") + self.map(|i| i.to_source()).connect("\n\n") } } @@ -104,7 +104,7 @@ pub mod rt { impl<'self> ToSource for &'self [@ast::Ty] { fn to_source(&self) -> ~str { - str::connect(self.map(|i| i.to_source()), ", ") + self.map(|i| i.to_source()).connect(", ") } } |
