Skip to content

Commit 8c059ab

Browse files
committed
---
yaml --- r: 161754 b: refs/heads/master c: 298b525 h: refs/heads/master v: v3
1 parent 7338f46 commit 8c059ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0d24780793f798ad9b2b17695f1079719d3b9854
2+
refs/heads/master: 298b525951ea4ce7a78364e835f45a549b7f865e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
55
refs/heads/try: 0f0d21c1eb5c7be04d323e0b06faf252ad790af6

trunk/src/libcore/result.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ impl<T, E> Result<T, E> {
444444
/// ignoring I/O and parse errors:
445445
///
446446
/// ```
447-
/// use std::io::{BufReader, IoResult};
447+
/// use std::io::IoResult;
448448
///
449-
/// let mut buffer = "1\n2\n3\n4\n";
449+
/// let mut buffer = &mut b"1\n2\n3\n4\n";
450450
///
451451
/// let mut sum = 0;
452452
///

0 commit comments

Comments
 (0)