Skip to content

Commit 852e482

Browse files
committed
clippy fixes
1 parent f24e2ac commit 852e482

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

cli/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use std::{cell::RefCell, path::PathBuf, rc::Rc, time::Instant};
22

33
use async_trait::async_trait;
4-
use capnp::message::ReaderOptions;
54
use capnp_rpc::{pry, rpc_twoparty_capnp, twoparty, RpcSystem};
65
use distill_schema::{
76
data, pack,

importer/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ pub trait AsyncImporter: Send + 'static {
137137
/// by storing generated AssetUuids with mappings to format-internal identifiers.
138138
type State: Serialize + Send + 'static;
139139

140-
fn default_options<'a>(&'a self, _import_source: ImportSource<'_>) -> Option<Self::Options> {
140+
fn default_options(&self, _import_source: ImportSource<'_>) -> Option<Self::Options> {
141141
None
142142
}
143143

@@ -183,7 +183,7 @@ impl<T: Importer + Sync> AsyncImporter for T {
183183
<T as Importer>::version(self)
184184
}
185185

186-
fn default_options<'a>(&'a self, import_source: ImportSource<'_>) -> Option<Self::Options> {
186+
fn default_options(&self, import_source: ImportSource<'_>) -> Option<Self::Options> {
187187
<T as Importer>::default_options(self, import_source)
188188
}
189189

0 commit comments

Comments
 (0)