fix: allow async-trait must-use compatibility lint
This commit is contained in:
@@ -38,6 +38,10 @@ pub fn stop_grace_secs_for(container_name: &str) -> u64 {
|
||||
}
|
||||
}
|
||||
|
||||
// Rust 1.99 treats the boxed Future generated by async-trait as must-use and
|
||||
// also sees the macro's own must-use marker. Keep the compatibility allowance
|
||||
// scoped to this generated trait surface; callers still cannot ignore Result.
|
||||
#[allow(clippy::double_must_use)]
|
||||
#[async_trait]
|
||||
pub trait ContainerRuntime: Send + Sync {
|
||||
/// CLI used for offline app provisioning in this runtime's storage scope.
|
||||
|
||||
Reference in New Issue
Block a user