diff options
author | Cyril Plisko <cyril.plisko@mountall.com> | 2017-12-11 20:36:54 +0200 |
---|---|---|
committer | Cyril Plisko <cyril.plisko@mountall.com> | 2017-12-11 20:36:54 +0200 |
commit | cc1a7ebd8e11174b718f03489fa4e0f01bc26441 (patch) | |
tree | 1e3b091d14669a8dacafbe78286dc9d5d97e131e | |
parent | a7abe5aaa6b721aae36ee19fb3dff36215b6e6fb (diff) |
Drop `env` field as it is unused anywhere
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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() } } |