From 88ed94b28201119cf5fa21369558eff514bf156a Mon Sep 17 00:00:00 2001 From: stelzo Date: Sat, 26 Apr 2025 12:19:18 +0200 Subject: [PATCH] fix lint --- rpcl2-derive/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcl2-derive/src/lib.rs b/rpcl2-derive/src/lib.rs index a3ca95a..fd7890c 100644 --- a/rpcl2-derive/src/lib.rs +++ b/rpcl2-derive/src/lib.rs @@ -48,8 +48,8 @@ fn struct_field_rename_array(input: &DeriveInput) -> Vec { panic!("expected `name` attribute"); } }); - if let Err(err) = res { - panic!("Error parsing attribute: {}", err); + if let Err(e) = res { + panic!("Error parsing attribute: {e}"); } } });