Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor: apply suggestion from clippy to be more idiomatic
Lars Wirzenius committed 2 years ago
commit b42745093cd07a594df1073e1dc065aa8ac1bd1a
parent 08e8f32a2ba1b0ad34241e9b81fb9ebbbea5612a
1 file changed +2 -2
modified src/config.rs
@@ -50,8 +50,8 @@ impl fmt::Debug for Adapter {
            self.command,
            self.env,
            self.sensitive_env
-
                .iter()
-
                .map(|(k, _)| (k.to_string(), "***".to_string()))
+
                .keys()
+
                .map(|k| (k.to_string(), "***".to_string()))
                .collect::<HashMap<String, String>>()
        )
    }