We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 526f2bf commit 0c8a7f2Copy full SHA for 0c8a7f2
src/libcore/macros.rs
@@ -182,7 +182,7 @@ macro_rules! debug_assert_eq {
182
/// fn write_to_file_using_match() -> Result<(), io::Error> {
183
/// let mut file = try!(File::create("my_best_friends.txt"));
184
/// match file.write_all(b"This is a list of my best friends.") {
185
-/// Ok(_) => (),
+/// Ok(v) => v,
186
/// Err(e) => return Err(e),
187
/// }
188
/// println!("I wrote to the file");
0 commit comments