From 3db8ae0bdc3f2c2d59a936973974a13451bb129d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 16 Mar 2012 12:20:38 -0700 Subject: [PATCH] core: Remove extra backslashes from docs --- src/libcore/str.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcore/str.rs b/src/libcore/str.rs index 13afab2beb94..4523721e9836 100644 --- a/src/libcore/str.rs +++ b/src/libcore/str.rs @@ -517,13 +517,13 @@ fn split_str_nonempty(s: str, sep: str) -> [str] { } #[doc = " -Splits a string into a vector of the substrings separated by LF ('\\\\n') +Splits a string into a vector of the substrings separated by LF ('\\n') "] fn lines(s: str) -> [str] { split_char(s, '\n') } #[doc = " -Splits a string into a vector of the substrings separated by LF ('\\\\n') -and/or CR LF ('\\\\r\\\\n') +Splits a string into a vector of the substrings separated by LF ('\\n') +and/or CR LF ('\\r\\n') "] fn lines_any(s: str) -> [str] { vec::map(lines(s), {|s|