Commit cc1a7ebd authored by Cyril Plisko's avatar Cyril Plisko 🤔

Drop `env` field as it is unused anywhere

parent a7abe5aa
Pipeline #14982649 passed with stage
in 1 minute and 24 seconds
......@@ -81,7 +81,6 @@ const DEFAULT_PAGER_ENV: &str = "PAGER";
#[derive(Debug)]
pub struct Pager {
pager: Option<OsString>,
env: Option<String>,
on: bool,
skip_on_notty: bool,
}
......@@ -90,7 +89,6 @@ impl Default for Pager {
fn default() -> Self {
Self {
pager: None,
env: None,
on: true,
skip_on_notty: false,
}
......@@ -109,7 +107,6 @@ impl Pager {
Self {
pager: pager,
env: String::from(env).into(),
..Default::default()
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment