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 6e9ca48 commit 9539febCopy full SHA for 9539feb
library/std/src/fs.rs
@@ -286,8 +286,8 @@ pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
286
/// use std::error::Error;
287
///
288
/// fn main() -> Result<(), Box<dyn Error>> {
289
-/// let address: String = fs::read_to_string("address.txt")?;
290
-/// println!("{}", address);
+/// let message: String = fs::read_to_string("message.txt")?;
+/// println!("{}", message);
291
/// Ok(())
292
/// }
293
/// ```
0 commit comments