Skip to content

Commit 494308e

Browse files
committed
lint
1 parent 4c15a5b commit 494308e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/epee-encoding/src/macros.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ macro_rules! epee_object {
127127

128128
) => {
129129
cuprate_epee_encoding::macros::paste!(
130-
#[allow(non_snake_case, clippy::empty_structs_with_brackets)]
130+
#[allow(non_snake_case)]
131131
mod [<__epee_builder_ $obj>] {
132132
use super::*;
133133

134134
#[derive(Default)]
135+
#[allow(clippy::empty_structs_with_brackets)]
135136
pub struct [<__Builder $obj>] {
136137
$($field: Option<cuprate_epee_encoding::epee_object!(@internal_field_type $ty, $($ty_as)?)>,)*
137138
$($flat_field: <$flat_ty as cuprate_epee_encoding::EpeeObject>::Builder,)*

0 commit comments

Comments
 (0)