Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(alloc): fix interior mut const lint (#271)
clippy doesn't like interior mutable items in `const`s, because mutating an instance of the `const` value will not mutate the const. that is the *correct* behavior here, as the const is used just as an array initializer; every time it's referenced, it *should* produce a new value. therefore, this warning is incorrect in this case. see rust-lang/rust-clippy#7665
- Loading branch information