fix: remove unused imports and adjust common module re-exports
This commit is contained in:
@@ -7,7 +7,7 @@ use std::str::FromStr;
|
||||
use crate::compression::get_engine;
|
||||
use crate::compression::CompressionType;
|
||||
use crate::db::{get_item, get_item_last, get_item_matching};
|
||||
use crate::modes::common::{format_size, get_format_box_chars_no_border_line_separator};
|
||||
use crate::modes::common::get_format_box_chars_no_border_line_separator;
|
||||
use chrono::prelude::*;
|
||||
use is_terminal::IsTerminal;
|
||||
use prettytable::format;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use crate::Alignment;
|
||||
use crate::modes::common::ColumnType;
|
||||
|
||||
use crate::db::{
|
||||
get_item, get_item_last, get_items, get_items_matching, get_item_tags, get_item_meta, Item, Meta, Tag,
|
||||
@@ -64,7 +63,6 @@ pub fn mode_list(
|
||||
table.set_format(*prettytable::format::consts::FORMAT_CLEAN);
|
||||
|
||||
let list_format = args.options.list_format.split(",");
|
||||
use crate::modes::common::ColumnType;
|
||||
|
||||
let mut title_row = row!();
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
pub mod common {
|
||||
pub use super::common::*;
|
||||
}
|
||||
pub mod common;
|
||||
pub mod delete;
|
||||
pub mod get;
|
||||
pub mod info;
|
||||
|
||||
Reference in New Issue
Block a user