Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9539feb

Browse files
haydonryanm-ou-se
andauthored
Update library/std/src/fs.rs
Co-authored-by: Mara Bos <[email protected]>
1 parent 6e9ca48 commit 9539feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/fs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,8 @@ pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
286286
/// use std::error::Error;
287287
///
288288
/// fn main() -> Result<(), Box<dyn Error>> {
289-
/// let address: String = fs::read_to_string("address.txt")?;
290-
/// println!("{}", address);
289+
/// let message: String = fs::read_to_string("message.txt")?;
290+
/// println!("{}", message);
291291
/// Ok(())
292292
/// }
293293
/// ```

0 commit comments

Comments
 (0)