Benjamin Sago 8 лет назад
Родитель
Сommit
0b30864f10
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/fs/dir.rs
  2. 1 1
      src/output/render/size.rs

+ 1 - 1
src/fs/dir.rs

@@ -37,7 +37,7 @@ impl Dir {
     /// entries, so if the user wants to see them, we’ll have to add them
     /// ourselves after the files have been read.
     pub fn read_dir(path: PathBuf, git: bool) -> IOResult<Dir> {
-  	    info!("Reading directory {:?}", &path);
+        info!("Reading directory {:?}", &path);
       
         let contents: Vec<PathBuf> = try!(fs::read_dir(&path)?
                                                  .map(|result| result.map(|entry| entry.path()))

+ 1 - 1
src/output/render/size.rs

@@ -128,7 +128,7 @@ pub mod test {
     #[test]
     fn file_bytes() {
         let mut colours = Colours::default();
-    	colours.size.numbers = Blue.on(Red);
+        colours.size.numbers = Blue.on(Red);
 
         let directory = f::Size::Some(1048576);
         let expected = TextCell {