mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-05 04:05:16 +00:00
![]() Fixes the clippy warning: warning: use of `unwrap_or_else` to construct default value --> proxmox-tfa/src/api/mod.rs:1355:43 | 1355 | |cap| cap.map(Vec::with_capacity).unwrap_or_else(Vec::new), | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
Cargo.toml |