diff options
| author | Michael Sullivan <sully@msully.net> | 2013-06-04 15:14:56 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2013-06-06 12:14:41 -0700 |
| commit | 8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c (patch) | |
| tree | 9fd129fcd914f75a3325f6330c6e7f5ecde05826 /src/libsyntax/ext/quote.rs | |
| parent | 8450dc8f5e7616617d707f8fdbfaf7ad6ad5aa41 (diff) | |
| download | rust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.tar.gz rust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.zip | |
Clean up a handful of build warnings.
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 062532afef8..09c9dd922c7 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") + str::connect(self.map(|i| i.to_source()), "\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()), ~", ") + str::connect(self.map(|i| i.to_source()), ", ") } } |
