mirror of https://github.com/zkat/cacache-rs.git
misc: remove unneeded clippy exception
This commit is contained in:
parent
42f4e1da63
commit
7aabb55de5
|
|
@ -59,7 +59,6 @@ pub fn open(cache: &Path, sri: Integrity) -> Result<Reader, Error> {
|
|||
})
|
||||
}
|
||||
|
||||
#[allow(clippy::needless_lifetimes)]
|
||||
pub async fn open_async(cache: &Path, sri: Integrity) -> Result<AsyncReader, Error> {
|
||||
Ok(AsyncReader {
|
||||
fd: async_std::fs::File::open(cache).await?,
|
||||
|
|
|
|||
Loading…
Reference in New Issue