about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorDonnie Bishop <donnie.a.bishop@gmail.com>2017-03-25 12:22:23 -0400
committerGitHub <noreply@github.com>2017-03-25 12:22:23 -0400
commit64cd0bebab1a9023dc5a4bbc38f9e6820629fbb9 (patch)
treeef61a6b4c56233497fecbb178423a1fa13f1da77 /src/libcore
parent33a6a07d586437e8d4894dc35413a21ee5cfba54 (diff)
downloadrust-64cd0bebab1a9023dc5a4bbc38f9e6820629fbb9.tar.gz
rust-64cd0bebab1a9023dc5a4bbc38f9e6820629fbb9.zip
Remove trailing whitespace
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index bc5df6810a9..ae08a3d0a9a 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -43,28 +43,28 @@ pub mod pattern;
 /// ```
 /// use std::str::FromStr;
 /// use std::num::ParseIntError;
-/// 
+///
 /// #[derive(Debug, PartialEq)]
 /// struct Point {
 ///     x: i32,
 ///     y: i32
 /// }
-/// 
+///
 /// impl FromStr for Point {
 ///     type Err = ParseIntError;
-/// 
+///
 ///     fn from_str(s: &str) -> Result<Self, Self::Err> {
 ///         let coords: Vec<&str> = s.trim_matches(|p| p == '(' || p == ')' )
 ///                                  .split(",")
 ///                                  .collect();
-/// 
+///
 ///         let x_fromstr = try!(coords[0].parse::<i32>());
 ///         let y_fromstr = try!(coords[1].parse::<i32>());
-/// 
+///
 ///         Ok(Point { x: x_fromstr, y: y_fromstr })
 ///     }
 /// }
-/// 
+///
 /// let p = Point::from_str("(1,2)");
 /// assert_eq!(p.unwrap(), Point{ x: 1, y: 2} )
 /// ```