Skip to content

Commit e015420

Browse files
committed
Use new Table::modify() method
1 parent 1854afe commit e015420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ async fn main() -> Result<(), anyhow::Error> {
185185
info!("Found {} matching resources", removed_resources.len());
186186
if !removed_resources.is_empty() {
187187
use tabled::{
188-
settings::{object::Columns, Modify, Style, Width},
188+
settings::{object::Columns, Style, Width},
189189
Table,
190190
};
191191
let mut table = Table::new(removed_resources);
192192
info!(
193193
"\n{}",
194194
table
195195
.with(Style::sharp())
196-
.with(Modify::new(Columns::last()).with(Width::wrap(80)))
196+
.modify(Columns::last(), Width::wrap(80))
197197
.to_string()
198198
);
199199
}

0 commit comments

Comments
 (0)