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

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