summaryrefslogtreecommitdiffstats
path: root/rust/src/identifiers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:12:16 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:12:16 -0800
commit5dca65fa0992bedb826aa7a762dc69e1beaed2de (patch)
tree2f736147f38543632ec2c2135fc48d382f727ec0 /rust/src/identifiers.rs
parent9979d34df0cdef3be2fb40b6da4c4eaddeb5ba79 (diff)
downloadfatcat-5dca65fa0992bedb826aa7a762dc69e1beaed2de.tar.gz
fatcat-5dca65fa0992bedb826aa7a762dc69e1beaed2de.zip
some clippy nits
Diffstat (limited to 'rust/src/identifiers.rs')
-rw-r--r--rust/src/identifiers.rs2
1 files changed, 1 insertions, 1 deletions
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<FatCatId> {
- fcid2uuid(s).map(|u| FatCatId(u))
+ fcid2uuid(s).map(FatCatId)
}
}