Fixup File::get_new_file_id()
This commit is contained in:
parent
003efb6296
commit
312bcf9703
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue