fix: typos

This commit is contained in:
Ilya Maximov 2022-03-19 21:04:48 +01:00
parent fa91ad6315
commit 334936b276
No known key found for this signature in database
GPG key ID: 1ACCDCC0429C9737

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,
}
};