From 5dca65fa0992bedb826aa7a762dc69e1beaed2de Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 00:12:16 -0800 Subject: some clippy nits --- rust/src/identifiers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/identifiers.rs') diff --git a/rust/src/identifiers.rs b/rust/src/identifiers.rs index adb9f413..386570b9 100644 --- a/rust/src/identifiers.rs +++ b/rust/src/identifiers.rs @@ -17,7 +17,7 @@ impl ToString for FatCatId { impl FromStr for FatCatId { type Err = Error; fn from_str(s: &str) -> Result { - fcid2uuid(s).map(|u| FatCatId(u)) + fcid2uuid(s).map(FatCatId) } } -- cgit v1.2.3