diff --git a/src/modes/list.rs b/src/modes/list.rs index 6026222..516c978 100644 --- a/src/modes/list.rs +++ b/src/modes/list.rs @@ -141,10 +141,10 @@ pub fn mode_list( }, ColumnType::Compression => { Cell::new(&string_column(item.compression.to_string(), column_width)) - } + }, ColumnType::DigestType => { Cell::new(&string_column(item.digest_type.to_string(), column_width)) - } + }, ColumnType::DigestValue => { match item.digest_value { Some(ref value) => Cell::new(&string_column(value.to_string(), column_width)), @@ -152,7 +152,7 @@ pub fn mode_list( .with_style(Attr::ForegroundColor(color::RED)) .with_style(Attr::Bold), } - } + }, ColumnType::FileSize => match item_path.metadata() { Ok(metadata) => Cell::new_align( &size_column(