no depend on lazy_static; tag 0.6.12 #127
Annotations
2 warnings
mutable key type:
src/lib.rs#L132
warning: mutable key type
--> src/lib.rs:132:15
|
132 | let mut zs: HashMap<Edn, Edn> = HashMap::new();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: ... because it contains `Edn`, which has interior mutability
= note: ... because it contains `EdnAnyRef`, which has interior mutability
= note: ... because it contains `Arc<RwLock<dyn DynEq>>`, which has interior mutability
= note: ... because it contains `RwLock<dyn DynEq>`, which has interior mutability
= note: ... because it contains `RwLock`, which has interior mutability
= note: ... because it contains `AtomicU32`, which has interior mutability
= note: ... because it contains `UnsafeCell<u32>`, which has interior mutability
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type
|
mutable key type:
src/lib.rs#L117
warning: mutable key type
--> src/lib.rs:117:15
|
117 | let mut ys: HashSet<Edn> = HashSet::new();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: ... because it contains `Edn`, which has interior mutability
= note: ... because it contains `EdnAnyRef`, which has interior mutability
= note: ... because it contains `Arc<RwLock<dyn DynEq>>`, which has interior mutability
= note: ... because it contains `RwLock<dyn DynEq>`, which has interior mutability
= note: ... because it contains `RwLock`, which has interior mutability
= note: ... because it contains `AtomicU32`, which has interior mutability
= note: ... because it contains `UnsafeCell<u32>`, which has interior mutability
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type
= note: `#[warn(clippy::mutable_key_type)]` on by default
|