refactor: fix unused code warnings (#1087)

This commit is contained in:
Orhun Parmaksız 2022-02-27 15:23:59 +03:00 committed by GitHub
parent a7e2d55aa7
commit 4d64742fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -22,12 +22,6 @@ pub trait Overlayable {
fn generate_overlay(&self, size: Size) -> String;
}
#[derive(Clone, Debug)]
struct Padding {
rows: usize,
cols: usize,
}
#[derive(Clone, Debug)]
pub enum OverlayType {
Prompt(prompt::Prompt),

View file

@ -73,6 +73,7 @@ pub(crate) struct PluginEnv {
pub subscriptions: Arc<Mutex<HashSet<EventType>>>,
pub tab_index: usize,
pub client_id: ClientId,
#[allow(dead_code)]
plugin_own_data_dir: PathBuf,
}