소스 검색

refactor(clippy): clippy::explicit_auto_deref

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

+ 1 - 1
src/output/cell.rs

@@ -143,7 +143,7 @@ impl Deref for TextCellContents {
     type Target = [ANSIString<'static>];
 
     fn deref(&self) -> &Self::Target {
-        &*self.0
+        &self.0
     }
 }