diff --git a/src/instance/content/provider.rs b/src/instance/content/provider.rs index cb0efba..35e9fc3 100644 --- a/src/instance/content/provider.rs +++ b/src/instance/content/provider.rs @@ -61,6 +61,10 @@ pub struct ResolvedFile { pub project: ProviderProject, } +#[allow( + clippy::double_must_use, + reason = "async_trait adds #[must_use] to generated futures" +)] #[async_trait] pub trait ContentProvider: Send + Sync { fn id(&self) -> &'static str; diff --git a/src/instance/loader/mod.rs b/src/instance/loader/mod.rs index 5c17800..38ce2e1 100644 --- a/src/instance/loader/mod.rs +++ b/src/instance/loader/mod.rs @@ -42,6 +42,10 @@ pub struct GameVersion { pub stable: bool, } +#[allow( + clippy::double_must_use, + reason = "async_trait adds #[must_use] to generated futures" +)] #[async_trait] pub trait ModLoaderInstaller: Send + Sync { fn loader_type(&self) -> ModLoader;