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/parse/comments.rs | |
| parent | 5a711ea7c317ea90f03d5118dbb2e19e1622bc29 (diff) | |
| download | rust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.tar.gz rust-ccd0ac59e9a918f3c2a174e31213286dc6867d37.zip | |
std: remove str::{connect,concat}*.
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 89fd5c3762a..a6933c16483 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -116,7 +116,7 @@ pub fn strip_doc_comment_decoration(comment: &str) -> ~str { let lines = block_trim(lines, ~"\t ", None); let lines = block_trim(lines, ~"*", Some(1u)); let lines = block_trim(lines, ~"\t ", None); - return str::connect(lines, "\n"); + return lines.connect("\n"); } fail!("not a doc-comment: %s", comment); |
