Skip to content

Commit 11946f5

Browse files
committed
---
yaml --- r: 225514 b: refs/heads/stable c: a41fd59 h: refs/heads/master v: v3
1 parent 17fad8a commit 11946f5

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
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: d328d6472e6a61820c92ed7a910dbbff734fe235
32+
refs/heads/stable: a41fd590a8142b524d6a6d34e8977906d6787368
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/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)