Skip to content

Commit 47d2cbd

Browse files
committed
ref: cargo clippy
1 parent f3e1927 commit 47d2cbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/flow_config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ pub fn env_with_default<T: FromStr + Debug>(key: &str, default: T) -> T {
77
match std::env::var(key) {
88
Ok(string) => match T::from_str(&string) {
99
Ok(value) => {
10-
log::info!("Found env: {} with value: {:?}", key, &value);
10+
log::info!("Found env: {} with value: {:?}", key, value);
1111
value
1212
}
1313
Err(_) => {
14-
log::warn!("Failed to parse env: {} with value: {:?}", key, &string);
14+
log::warn!("Failed to parse env: {} with value: {:?}", key, string);
1515
default
1616
}
1717
},

0 commit comments

Comments
 (0)