fix/allow clippy errors

This commit is contained in:
Schrottkatze 2023-11-20 10:27:47 +01:00
commit 8c52d3668e
9 changed files with 51 additions and 30 deletions

View file

@ -8,6 +8,10 @@ pub const TRAIT_NUMERIC: &str = "Num";
pub const CMD_ADD: &str = "add";
#[allow(
clippy::unwrap_used,
reason = "Errs can only be returned in case of duplicate names in the same namespace, which will not happen here"
)]
pub fn initialise_globals() -> GlobalNamespace {
let ns = GlobalNamespace::init();