Просмотр исходного кода

refactor(clippy): clippy::explicit_auto_deref

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 лет назад
Родитель
Сommit
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
     }
 }