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

rustfmt

parent 0aa68c4a
......@@ -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),
}
}
}
......
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