fix: typos

This commit is contained in:
Ilya Maximov committed 2022-03-19 21:04:48 +01:00
1 parent fa91ad6315
commit 334936b276
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}
};