wiggle-generate: BuiltinType::USize is a u32, not a usize
This commit is contained in:
@@ -38,7 +38,7 @@ impl Names {
|
|||||||
BuiltinType::F32 => quote!(f32),
|
BuiltinType::F32 => quote!(f32),
|
||||||
BuiltinType::F64 => quote!(f64),
|
BuiltinType::F64 => quote!(f64),
|
||||||
BuiltinType::Char8 => quote!(u8),
|
BuiltinType::Char8 => quote!(u8),
|
||||||
BuiltinType::USize => quote!(usize),
|
BuiltinType::USize => quote!(u32),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub fn atom_type(&self, atom: AtomType) -> TokenStream {
|
pub fn atom_type(&self, atom: AtomType) -> TokenStream {
|
||||||
|
|||||||
Reference in New Issue
Block a user