From 6abe6cc27781e08c321b0f34e2d9ad2ee384fcb2 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 5 Sep 2023 17:31:19 -0400 Subject: [PATCH] clippy fix --- src/cmd/dol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/dol.rs b/src/cmd/dol.rs index 37d99f9..40e41fa 100644 --- a/src/cmd/dol.rs +++ b/src/cmd/dol.rs @@ -187,7 +187,7 @@ mod path_slash_serde_option { pub fn deserialize<'de, D>(deserializer: D) -> Result, D::Error> where D: Deserializer<'de> { - Ok(Option::deserialize(deserializer)?.map(|s: String| PathBuf::from_slash(s))) + Ok(Option::deserialize(deserializer)?.map(PathBuf::from_slash::)) } }