aboutsummaryrefslogtreecommitdiff
path: root/libcore/macros.rs
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-04-29 21:16:15 +0300
committerpravic <[email protected]>2016-04-29 21:16:15 +0300
commit77e9a3167b4aaadf3583a0c1d1ee0d9e63c9a000 (patch)
tree710e445d56a1a582b8eff19b7b4b180276eae122 /libcore/macros.rs
parenttweak: /driver option specifies /fixed:no implicitly as well (diff)
downloadkmd-env-rs-77e9a3167b4aaadf3583a0c1d1ee0d9e63c9a000.tar.xz
kmd-env-rs-77e9a3167b4aaadf3583a0c1d1ee0d9e63c9a000.zip
update libcore to 2016-04-29 nightly
Diffstat (limited to 'libcore/macros.rs')
-rw-r--r--libcore/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcore/macros.rs b/libcore/macros.rs
index f923668..ad90b44 100644
--- a/libcore/macros.rs
+++ b/libcore/macros.rs
@@ -182,7 +182,7 @@ macro_rules! debug_assert_eq {
/// fn write_to_file_using_match() -> Result<(), io::Error> {
/// let mut file = try!(File::create("my_best_friends.txt"));
/// match file.write_all(b"This is a list of my best friends.") {
-/// Ok(_) => (),
+/// Ok(v) => v,
/// Err(e) => return Err(e),
/// }
/// println!("I wrote to the file");