Skip to content

Commit 3c820fe

Browse files
author
Ali Raheem
committed
Comment out println in read_dir sorting example
1 parent 53c5046 commit 3c820fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libstd/fs.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,14 +2008,14 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
20082008
/// .map(|res| res.map(|e| e.path()))
20092009
/// .collect::<Result<Vec<_>, io::Error>>()?;
20102010
///
2011-
/// println!(
2012-
/// "Entries before sorting (may or may not be sorted already): {:?}",
2013-
/// entries
2014-
/// );
2011+
/// // println!(
2012+
/// // "Entries before sorting (may or may not be sorted already): {:?}",
2013+
/// // entries
2014+
/// // );
20152015
///
20162016
/// entries.sort();
20172017
///
2018-
/// println!("Entries after sorting: {:?}", entries);
2018+
/// // println!("Entries after sorting: {:?}", entries);
20192019
/// Ok(())
20202020
/// }
20212021
/// ```

0 commit comments

Comments
 (0)