diff options
author | Cyril Plisko <cyril.plisko@mountall.com> | 2018-09-26 11:32:30 +0300 |
---|---|---|
committer | Cyril Plisko <cyril.plisko@mountall.com> | 2018-09-26 11:32:30 +0300 |
commit | e145b80799e17650651e8d9f3dfa196c969d9380 (patch) | |
tree | 5f804c54d164c21e5158c01ce26a6cb78052bfad | |
parent | 0aa68c4ab91e2a58d448c9c89a16721eb8b89ffc (diff) |
rustfmt
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -224,7 +224,7 @@ mod tests { enum PagerEnv { Reinstate(OsString, OsString), - Remove(OsString) + Remove(OsString), } impl PagerEnv { @@ -239,15 +239,13 @@ mod tests { fn set<S: AsRef<OsStr>>(&self, value: S) { match self { - | PagerEnv::Reinstate(env, _) - | PagerEnv::Remove(env) => env::set_var(env, value) + PagerEnv::Reinstate(env, _) | PagerEnv::Remove(env) => env::set_var(env, value), } } fn remove(&self) { match self { - | PagerEnv::Reinstate(env, _) - | PagerEnv::Remove(env) => env::remove_var(env) + PagerEnv::Reinstate(env, _) | PagerEnv::Remove(env) => env::remove_var(env), } } } |