diff options
-rw-r--r-- | mlua_derive/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlua_derive/src/lib.rs b/mlua_derive/src/lib.rs index b5128fc..3156efe 100644 --- a/mlua_derive/src/lib.rs +++ b/mlua_derive/src/lib.rs @@ -23,7 +23,7 @@ impl ModuleAttributes { self.name = Some(value.parse::<LitStr>()?.parse()?); } Err(_) => { - return Err(meta.error(format!("`name` attribute must have a value"))); + return Err(meta.error("`name` attribute must have a value")); } } } else { |