Skip to content

Commit 5e678a8

Browse files
committed
---
yaml --- r: 211593 b: refs/heads/master c: a41fd59 h: refs/heads/master i: 211591: 09c3bed v: v3
1 parent 491b25a commit 5e678a8

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: d328d6472e6a61820c92ed7a910dbbff734fe235
2+
refs/heads/master: a41fd590a8142b524d6a6d34e8977906d6787368
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/src/libstd/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ macro_rules! println {
130130
///
131131
/// fn write_to_file_using_try() -> Result<(), io::Error> {
132132
/// let mut file = try!(File::create("my_best_friends.txt"));
133-
/// try!(file.write_line("This is a list of my best friends."));
133+
/// try!(file.write_all(b"This is a list of my best friends."));
134134
/// println!("I wrote to the file");
135135
/// Ok()
136136
/// }
137137
/// // This is equivalent to:
138138
/// fn write_to_file_using_match() -> Result<(), io::Error> {
139139
/// let mut file = try!(File::create("my_best_friends.txt"));
140-
/// match file.write_line("This is a list of my best friends.") {
140+
/// match file.write_all(b"This is a list of my best friends.") {
141141
/// Ok(_) => (),
142142
/// Err(e) => return Err(e),
143143
/// }

0 commit comments

Comments
 (0)