Skip to content

Commit b8db6f7

Browse files
committed
Fix a clippy lint.
1 parent 257173e commit b8db6f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_asset/src/processor/process.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ pub trait ErasedProcessor: Send + Sync {
223223
) -> BoxedFuture<'a, Result<Box<dyn AssetMetaDyn>, ProcessError>>;
224224
/// Type-erased variant of [`Process::reader_required_features`].
225225
// Note: This takes &self just to be dyn compatible.
226+
#[expect(
227+
clippy::result_large_err,
228+
reason = "this is only an error here because this isn't a future"
229+
)]
226230
fn reader_required_features(
227231
&self,
228232
settings: &dyn Settings,

0 commit comments

Comments
 (0)