Ilya Maximov %!s(int64=3) %!d(string=hai) anos
pai
achega
334936b276
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/core-macro/src/inlineprops.rs

+ 1 - 1
packages/core-macro/src/inlineprops.rs

@@ -34,7 +34,7 @@ impl Parse for InlinePropsBody {
         let first_arg: FnArg = content.parse()?;
         let cx_token = {
             match first_arg {
-                FnArg::Receiver(_) => panic!("first argument must not be  a reciver argument"),
+                FnArg::Receiver(_) => panic!("first argument must not be a receiver argument"),
                 FnArg::Typed(f) => f.pat,
             }
         };