mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #33633 - tshepang:no-effect, r=steveklabnik
doc: this statement does not have an effect
This commit is contained in:
commit
76d50e657b
@ -292,8 +292,6 @@
|
||||
//! use std::fmt;
|
||||
//! use std::io::{self, Write};
|
||||
//!
|
||||
//! fmt::format(format_args!("this returns {}", "String"));
|
||||
//!
|
||||
//! let mut some_writer = io::stdout();
|
||||
//! write!(&mut some_writer, "{}", format_args!("print with a {}", "macro"));
|
||||
//!
|
||||
|
Loading…
Reference in New Issue
Block a user