Skip to content

Commit 891852e

Browse files
committed
Address clippy warning for SystemDesc derive impl.
1 parent 065fc8a commit 891852e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amethyst_derive/src/system_desc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn system_desc_struct(context: &Context<'_>) -> TokenStream {
140140
}
141141
}
142142

143-
fn system_desc_fields<'ast>(ast: &'ast DeriveInput) -> SystemDescFields<'ast> {
143+
fn system_desc_fields(ast: &DeriveInput) -> SystemDescFields<'_> {
144144
// This includes any `PhantomData` fields to avoid unused type parameters.
145145
let fields = ast.fields();
146146

0 commit comments

Comments
 (0)