diff --git a/bevy_proto_backend/src/impls/macros.rs b/bevy_proto_backend/src/impls/macros.rs
index 38cb29a..72dc3e8 100644
--- a/bevy_proto_backend/src/impls/macros.rs
+++ b/bevy_proto_backend/src/impls/macros.rs
@@ -29,6 +29,7 @@ macro_rules! from {
impl From for $real {
fn from(value: Input) -> Self {
+ #[allow(clippy::redundant_closure_call)]
$body(value)
}
}
@@ -49,6 +50,7 @@ macro_rules! from_to {
impl From for $mock {
fn from(value: Input) -> Self {
+ #[allow(clippy::redundant_closure_call)]
$body(value)
}
}
@@ -59,6 +61,7 @@ macro_rules! from_to {
impl From for $real {
fn from(value: Input) -> Self {
+ #[allow(clippy::redundant_closure_call)]
$body(value)
}
}
@@ -78,6 +81,7 @@ macro_rules! from_to_input {
input: Input,
context: &mut $crate::schematics::SchematicContext,
) -> Self {
+ #[allow(clippy::redundant_closure_call)]
$body(input, context)
}
}
@@ -91,6 +95,7 @@ macro_rules! from_to_input {
input: Input,
context: &mut $crate::schematics::SchematicContext,
) -> Self {
+ #[allow(clippy::redundant_closure_call)]
$body(input, context)
}
}
diff --git a/bevy_proto_derive/src/schematic/field_attributes.rs b/bevy_proto_derive/src/schematic/field_attributes.rs
index 8da513f..83f55c9 100644
--- a/bevy_proto_derive/src/schematic/field_attributes.rs
+++ b/bevy_proto_derive/src/schematic/field_attributes.rs
@@ -275,7 +275,9 @@ impl<'a> FieldAttributesBuilder<'a> {
ReplacementType::Asset(AssetConfig::default()),
meta.path.span(),
)?;
- let ReplacementType::Asset(config) = &mut self.attrs.replacement_ty else {unreachable!()};
+ let ReplacementType::Asset(config) = &mut self.attrs.replacement_ty else {
+ unreachable!()
+ };
config
};