2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Remove unused conversions

This commit is contained in:
Aode (lion) 2022-04-03 12:51:21 -05:00
parent 29f0774331
commit 409b7d4c54

View file

@ -435,18 +435,6 @@ impl UploadId {
} }
} }
impl From<Uuid> for UploadId {
fn from(id: Uuid) -> Self {
Self { id }
}
}
impl From<UploadId> for Uuid {
fn from(uid: UploadId) -> Self {
uid.id
}
}
impl std::str::FromStr for UploadId { impl std::str::FromStr for UploadId {
type Err = <Uuid as std::str::FromStr>::Err; type Err = <Uuid as std::str::FromStr>::Err;