Impl Into<FileIDType> for FileID

This commit is contained in:
Matthias Beyer 2015-12-03 17:33:29 +01:00
parent 445f543159
commit 5c3d0ecce7

View file

@ -101,6 +101,13 @@ impl Into<String> for FileID {
}
impl Into<FileIDType> for FileID {
fn into(self) -> FileIDType {
self.id_type.clone()
}
}
impl From<String> for FileID {
fn from(s: String) -> FileID {