mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 21:48:42 +00:00
Rm unused trait bound in extract_impl
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
621a641529
commit
b152358175
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ use crate::{BinstallError, TarBasedFmt};
|
||||||
|
|
||||||
async fn extract_impl<T, S, F, E>(stream: S, f: F) -> Result<T, BinstallError>
|
async fn extract_impl<T, S, F, E>(stream: S, f: F) -> Result<T, BinstallError>
|
||||||
where
|
where
|
||||||
T: Debug + Send + 'static,
|
|
||||||
S: Stream<Item = Result<Bytes, E>> + Unpin,
|
S: Stream<Item = Result<Bytes, E>> + Unpin,
|
||||||
F: FnOnce(StreamReadable<S>) -> Result<T, BinstallError>,
|
F: FnOnce(StreamReadable<S>) -> Result<T, BinstallError>,
|
||||||
BinstallError: From<E>,
|
BinstallError: From<E>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue