refactor: fix unused code warnings (#1087)
This commit is contained in:
parent
a7e2d55aa7
commit
4d64742fd0
2 changed files with 1 additions and 6 deletions
|
|
@ -22,12 +22,6 @@ pub trait Overlayable {
|
||||||
fn generate_overlay(&self, size: Size) -> String;
|
fn generate_overlay(&self, size: Size) -> String;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
|
||||||
struct Padding {
|
|
||||||
rows: usize,
|
|
||||||
cols: usize,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub enum OverlayType {
|
pub enum OverlayType {
|
||||||
Prompt(prompt::Prompt),
|
Prompt(prompt::Prompt),
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ pub(crate) struct PluginEnv {
|
||||||
pub subscriptions: Arc<Mutex<HashSet<EventType>>>,
|
pub subscriptions: Arc<Mutex<HashSet<EventType>>>,
|
||||||
pub tab_index: usize,
|
pub tab_index: usize,
|
||||||
pub client_id: ClientId,
|
pub client_id: ClientId,
|
||||||
|
#[allow(dead_code)]
|
||||||
plugin_own_data_dir: PathBuf,
|
plugin_own_data_dir: PathBuf,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue