From 312bcf97032a826a6df9941d1fc52e00bc707626 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 27 Dec 2015 17:43:44 +0100 Subject: [PATCH] Fixup File::get_new_file_id() --- src/storage/file/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/file/mod.rs b/src/storage/file/mod.rs index 8fd67a26..7c1e380e 100644 --- a/src/storage/file/mod.rs +++ b/src/storage/file/mod.rs @@ -114,7 +114,7 @@ impl<'a> File<'a> { fn get_new_file_id() -> FileID { use uuid::Uuid; let hash = FileHash::from(Uuid::new_v4().to_hyphenated_string()); - FileID::new(FileIDType::UUID, hash); + FileID::new(FileIDType::UUID, hash) } }