mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-20 17:21:24 +01:00
enable undocumented_unsafe_blocks lint
There was only one unsafe block (thankfully) but it also had no docs. I did some reading and found out this in fact safe, but only for cursed reasons, and documented them. Also, the name of the type was misleading, as the entire point is the aliasing, and `Box` is already non-aliasing.
This commit is contained in:
parent
844b32f097
commit
2b6a933538
2 changed files with 23 additions and 7 deletions
|
|
@ -57,6 +57,7 @@ string_to_string = "warn"
|
|||
suspicious_xor_used_as_pow = "warn"
|
||||
tests_outside_test_module = "warn"
|
||||
try_err = "warn"
|
||||
undocumented_unsafe_blocks = "warn"
|
||||
unnecessary_safety_comment = "warn"
|
||||
unnecessary_safety_doc = "warn"
|
||||
unnecessary_self_imports = "warn"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue