Skip to content

Commit

Permalink
core: fix a doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed Dec 4, 2014
1 parent 0d24780 commit 298b525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/result.rs
Expand Up @@ -444,9 +444,9 @@ impl<T, E> Result<T, E> {
/// ignoring I/O and parse errors:
///
/// ```
/// use std::io::{BufReader, IoResult};
/// use std::io::IoResult;
///
/// let mut buffer = "1\n2\n3\n4\n";
/// let mut buffer = &mut b"1\n2\n3\n4\n";
///
/// let mut sum = 0;
///
Expand Down

5 comments on commit 298b525

@bors
Copy link
Contributor

@bors bors commented on 298b525 Dec 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from erickt
at erickt@298b525

@bors
Copy link
Contributor

@bors bors commented on 298b525 Dec 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging erickt/rust/reader = 298b525 into auto

@bors
Copy link
Contributor

@bors bors commented on 298b525 Dec 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

erickt/rust/reader = 298b525 merged ok, testing candidate = d9c7c00

@bors
Copy link
Contributor

@bors bors commented on 298b525 Dec 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 298b525 Dec 4, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d9c7c00

Please sign in to comment.