mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
warning: Question mark operator is useless here
--> virtio-devices/src/seccomp_filters.rs:485:5
|
485 | / Ok(SeccompFilter::new(
486 | | rules.into_iter().collect(),
487 | | SeccompAction::Log,
488 | | )?)
| |_______^
|
= note: `#[warn(clippy::needless_question_mark)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
help: try
|
485 | SeccompFilter::new(
486 | rules.into_iter().collect(),
487 | SeccompAction::Log,
488 | )
|
Signed-off-by: Rob Bradford <robert.bradford@intel.com>