Browse Source

Inline field

Benjamin Sago 8 years ago
parent
commit
e83b019854
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/output/render/permissions.rs

+ 1 - 3
src/output/render/permissions.rs

@@ -19,11 +19,9 @@ impl f::PermissionsPlus {
         // As these are all ASCII characters, we can guarantee that they’re
         // all going to be one character wide, and don’t need to compute the
         // cell’s display width.
-        let width = DisplayWidth::from(chars.len());
-
         TextCell {
+            width:    DisplayWidth::from(chars.len()),
             contents: chars.into(),
-            width:    width,
         }
     }
 }