Fixup File::get_new_file_id()

This commit is contained in:
Matthias Beyer 2015-12-27 17:43:44 +01:00
parent 003efb6296
commit 312bcf9703
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}