mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-09 22:14:59 +00:00
Remove unused conversions
This commit is contained in:
parent
29f0774331
commit
409b7d4c54
1 changed files with 0 additions and 12 deletions
12
src/repo.rs
12
src/repo.rs
|
@ -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 {
|
||||
type Err = <Uuid as std::str::FromStr>::Err;
|
||||
|
||||
|
|
Loading…
Reference in a new issue