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 4cd918c commit 922f061Copy full SHA for 922f061
src/libcore/macros.rs
@@ -330,6 +330,7 @@ macro_rules! debug_assert_ne {
330
/// // The prefered method of quick returning Errors
331
/// fn write_to_file_question() -> Result<(), MyError> {
332
/// let mut file = File::create("my_best_friends.txt")?;
333
+/// file.write_all(b"This is a list of my best friends.")?;
334
/// Ok(())
335
/// }
336
///
0 commit comments