dragonball: Allow question_mark warning in allocate_device_resources()

As the rust toolchain version bump to its 1.66.0 release raised a
warning about the code being able to be refactored to use `?`.

For now that's something we don't need to change, so let's ignore such
warning in this very specific case.

See:
https://rust-lang.github.io/rust-clippy/master/index.html#question_mark

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-01-02 15:55:49 +01:00
parent 0b2f060bf3
commit b95364a140

View File

@ -420,6 +420,7 @@ impl ResourceManager {
}
/// Allocate requested resources for a device.
#[allow(clippy::question_mark)]
pub fn allocate_device_resources(
&self,
requests: &[ResourceConstraint],