mirror of
https://git.proxmox.com/git/proxmox
synced 2025-07-26 16:27:17 +00:00
![]() Fixes the clippy warning: warning: initializer for `thread_local` value can be made `const` --> proxmox-router/src/cli/command.rs:221:71 | 221 | static HELP_CONTEXT: RefCell<Option<Arc<CommandLineInterface>>> = RefCell::new(None); | ^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(None) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const = note: `#[warn(clippy::thread_local_initializer_can_be_made_const)]` on by default Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> |
||
---|---|---|
.. | ||
de | ||
ser | ||
api_type_macros.rs | ||
api_types.rs | ||
const_regex.rs | ||
format.rs | ||
lib.rs | ||
property_string.rs | ||
schema.rs | ||
upid.rs |