소스 검색

fix(theme): needless_borrow

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 년 전
부모
커밋
760f69ca2d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/theme/mod.rs

+ 1 - 1
src/theme/mod.rs

@@ -347,7 +347,7 @@ impl FileNameColours for Theme {
     fn mount_point(&self)         -> Style { self.ui.filekinds.mount_point }
     fn mount_point(&self)         -> Style { self.ui.filekinds.mount_point }
 
 
     fn colour_file(&self, file: &File<'_>) -> Style {
     fn colour_file(&self, file: &File<'_>) -> Style {
-        self.exts.colour_file(file, &self).unwrap_or(self.ui.filekinds.normal)
+        self.exts.colour_file(file, self).unwrap_or(self.ui.filekinds.normal)
     }
     }
 }
 }