Skip to content

Commit 57b37bc

Browse files
committed
---
yaml --- r: 218934 b: refs/heads/snap-stage3 c: a41fd59 h: refs/heads/master v: v3
1 parent 02a215f commit 57b37bc

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,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: d328d6472e6a61820c92ed7a910dbbff734fe235
3+
refs/heads/snap-stage3: a41fd590a8142b524d6a6d34e8977906d6787368
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/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)