Ver Fonte

refactor(clippy): clippy::explicit_auto_deref

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen há 2 anos atrás
pai
commit
5e9a39624d
1 ficheiros alterados com 1 adições e 1 exclusões
  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
     }
 }