ui/file: use FileID::into()
This commit is contained in:
parent
292e29a5f1
commit
8ddfb090b4
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@ impl FilePrinter for TablePrinter {
|
||||||
i += 1;
|
i += 1;
|
||||||
let cell_i = Cell::new(&format!("{}", i)[..]);
|
let cell_i = Cell::new(&format!("{}", i)[..]);
|
||||||
let cell_o = Cell::new(&format!("{}", file.owner().name())[..]);
|
let cell_o = Cell::new(&format!("{}", file.owner().name())[..]);
|
||||||
let cell_id = Cell::new(&file.id()[..]);
|
|
||||||
|
let id : String = file.id().into();
|
||||||
|
let cell_id = Cell::new(&id[..]);
|
||||||
let row = Row::new(vec![cell_i, cell_o, cell_id]);
|
let row = Row::new(vec![cell_i, cell_o, cell_id]);
|
||||||
tab.add_row(row);
|
tab.add_row(row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue