diff options
Diffstat (limited to 'rust/src/downloadprovider.rs')
| -rw-r--r-- | rust/src/downloadprovider.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rust/src/downloadprovider.rs b/rust/src/downloadprovider.rs index 7de8704c..441714b6 100644 --- a/rust/src/downloadprovider.rs +++ b/rust/src/downloadprovider.rs @@ -79,12 +79,6 @@ unsafe impl<'a> CoreArrayWrapper<'a> for DownloadProvider { } } -impl AsRef<DownloadProvider> for DownloadProvider { - fn as_ref(&self) -> &Self { - self - } -} - pub struct DownloadInstanceOutputCallbacks { pub write: Option<Box<dyn FnMut(&[u8]) -> usize>>, pub progress: Option<Box<dyn FnMut(u64, u64) -> bool>>, |
