fix a typo

This commit is contained in:
vms 2021-04-12 22:23:50 +03:00
parent c5347cf1c1
commit 71b84799bb

View File

@ -42,7 +42,7 @@ impl ForeignModArgGlueCodeGenerator for ParsedType {
quote! { #deref_sign#arg as _ }
}
// this branch shouldn't be unite with booleans because otherwise
// conversions errors could be lost due to as _
// conversion errors could be lost due to using `as _`
ty => {
let deref_sign = maybe_deref(ty);
quote! { #deref_sign#arg }