Skip to content

Commit 4f7baf7

Browse files
committed
Removing unused import from read_to_string example
1 parent 547f3ce commit 4f7baf7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/std/src/fs.rs

-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ pub fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
283283
///
284284
/// ```no_run
285285
/// use std::fs;
286-
/// use std::error::Error;
287286
///
288287
/// fn main() -> Result<(), Box<dyn Error>> {
289288
/// let address: String = fs::read_to_string("address.txt")?;

0 commit comments

Comments
 (0)