We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41fd59 commit 80322e2Copy full SHA for 80322e2
src/libstd/macros.rs
@@ -132,7 +132,7 @@ macro_rules! println {
132
/// let mut file = try!(File::create("my_best_friends.txt"));
133
/// try!(file.write_all(b"This is a list of my best friends."));
134
/// println!("I wrote to the file");
135
-/// Ok()
+/// Ok(())
136
/// }
137
/// // This is equivalent to:
138
/// fn write_to_file_using_match() -> Result<(), io::Error> {
@@ -142,7 +142,7 @@ macro_rules! println {
142
/// Err(e) => return Err(e),
143
144
145
146
147
/// ```
148
#[macro_export]
0 commit comments