fix(ci): scope async-trait lint compatibility to generated traits
This commit is contained in:
1 parent
9cd454cee2
commit
7ead3706a2
2 files changed
+8
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user