chore: fix non_snake_case rust-analyzer warning (#4689)

This commit is contained in:
DaniPopes
2023-09-21 13:47:26 +02:00
committed by GitHub
parent 6d3e229e12
commit cf5d0e2307
3 changed files with 6 additions and 9 deletions

View File

@ -207,6 +207,7 @@ mod tests {
// Expected output in a TokenStream format. Commas matter!
let should_output = quote! {
pub use TestStruct_flags::TestStructFlags;
#[allow(non_snake_case)]
mod TestStruct_flags {
use bytes::Buf;
use modular_bitfield::prelude::*;