Skip to content

Commit 1a5e73a

Browse files
author
Andrew Hobden
committed
Fix trailing whitespace. Whoops!
1 parent e489eaa commit 1a5e73a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libcore/error.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@
5252
//! use std::error::FromError;
5353
//! use std::{io, str};
5454
//! use std::fs::File;
55-
//!
55+
//!
5656
//! enum MyError { Io(io::Error), Utf8(str::Utf8Error), }
57-
//!
57+
//!
5858
//! impl FromError<io::Error> for MyError {
5959
//! fn from_error(err: io::Error) -> MyError { MyError::Io(err) }
6060
//! }
61-
//!
61+
//!
6262
//! impl FromError<str::Utf8Error> for MyError {
6363
//! fn from_error(err: str::Utf8Error) -> MyError { MyError::Utf8(err) }
6464
//! }
65-
//!
65+
//!
6666
//! #[allow(unused_variables)]
6767
//! fn open_and_map() -> Result<(), MyError> {
6868
//! let b = b"foo.txt";
6969
//! let s = try!(str::from_utf8(b));
7070
//! let f = try!(File::open(s));
71-
//!
71+
//!
7272
//! // do something interesting here...
7373
//! Ok(())
7474
//! }

0 commit comments

Comments
 (0)