Browse Source

refactor(clippy): clippy::explicit_auto_deref

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 năm trước cách đây
mục cha
commit
5e9a39624d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
     }
 }