Skip to content

Commit 4bef8ff

Browse files
committed
Fix clippy
1 parent cc4d0d8 commit 4bef8ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/common/src/commit/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ where
219219
let raw: String = Deserialize::deserialize(deserializer)?;
220220

221221
decode_string_to_map(&raw)
222-
.map(|x| Some(x))
222+
.map(Some)
223223
.map_err(|_| serde::de::Error::custom("Invalid format".to_string()))
224224
}
225225

0 commit comments

Comments
 (0)