fix(avhw): add SAFETY comments to all undocumented unsafe blocks
Close #7 - Add // SAFETY: comments to 19 undocumented unsafe blocks and impls - Add nb_streams/null guard on stream array dereference (drain_encoder) - Add clippy undocumented_unsafe_blocks = warn lint to prevent regression avhw.rs now has 0 clippy unsafe documentation warnings.
This commit is contained in:
@@ -31,3 +31,6 @@ dirs = "6"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.27.0"
|
||||
|
||||
[lints.clippy]
|
||||
undocumented_unsafe_blocks = "warn"
|
||||
|
||||
Reference in New Issue
Block a user