Skip to content

Commit 64cd0be

Browse files
authored
Remove trailing whitespace
1 parent 33a6a07 commit 64cd0be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libcore/str/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,28 @@ pub mod pattern;
4343
/// ```
4444
/// use std::str::FromStr;
4545
/// use std::num::ParseIntError;
46-
///
46+
///
4747
/// #[derive(Debug, PartialEq)]
4848
/// struct Point {
4949
/// x: i32,
5050
/// y: i32
5151
/// }
52-
///
52+
///
5353
/// impl FromStr for Point {
5454
/// type Err = ParseIntError;
55-
///
55+
///
5656
/// fn from_str(s: &str) -> Result<Self, Self::Err> {
5757
/// let coords: Vec<&str> = s.trim_matches(|p| p == '(' || p == ')' )
5858
/// .split(",")
5959
/// .collect();
60-
///
60+
///
6161
/// let x_fromstr = try!(coords[0].parse::<i32>());
6262
/// let y_fromstr = try!(coords[1].parse::<i32>());
63-
///
63+
///
6464
/// Ok(Point { x: x_fromstr, y: y_fromstr })
6565
/// }
6666
/// }
67-
///
67+
///
6868
/// let p = Point::from_str("(1,2)");
6969
/// assert_eq!(p.unwrap(), Point{ x: 1, y: 2} )
7070
/// ```

0 commit comments

Comments
 (0)