Repository: actix/actix (language: rust)

Issue:
"Expect a attribute" -> "Expect an attribute"
https://github.com/actix/actix/blob/488ad19fafbddf2e1225ab2c23f2c4c8ef4abdcf/actix-derive/src/message.rs#L62


Discussion / hints:

Fix patch:
diff --git a/actix-derive/src/message.rs b/actix-derive/src/message.rs
index 4354dfe96..c04d2c0de 100644
--- a/actix-derive/src/message.rs
+++ b/actix-derive/src/message.rs
@@ -59,7 +59,7 @@ fn get_attribute_type_multiple(
             }
         })
         .ok_or_else(|| {
-            syn::Error::new(Span::call_site(), format!("Expect a attribute `{}`", name))
+            syn::Error::new(Span::call_site(), format!("Expect an attribute `{}`", name))
         })?;
 
     if let syn::Meta::List(ref list) = attr {


Test patch: