Comment out println in read_dir sorting example

This commit is contained in:
Ali Raheem 2019-08-26 11:24:08 +01:00
parent 53c504650d
commit 3c820fef9f

View file

@ -2008,14 +2008,14 @@ pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> {
/// .map(|res| res.map(|e| e.path()))
/// .collect::<Result<Vec<_>, io::Error>>()?;
///
/// println!(
/// "Entries before sorting (may or may not be sorted already): {:?}",
/// entries
/// );
/// // println!(
/// // "Entries before sorting (may or may not be sorted already): {:?}",
/// // entries
/// // );
///
/// entries.sort();
///
/// println!("Entries after sorting: {:?}", entries);
/// // println!("Entries after sorting: {:?}", entries);
/// Ok(())
/// }
/// ```