From 4131ce1880a430b2e5587ffda9b1466069f5c463 Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Sun, 2 Feb 2025 04:10:25 +0900 Subject: [PATCH] refactor(generator): remove impl DataType (use DataType -> RustUxTypes -> Ident) --- src/generator.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/generator.rs b/src/generator.rs index 4135610..d1d1b4f 100644 --- a/src/generator.rs +++ b/src/generator.rs @@ -74,13 +74,6 @@ mod util { } } - impl DataType { - fn to_rust_type_token(&self) -> proc_macro2::Ident { - match self { - DataType::D32 => proc_macro2::Ident::new("u32", proc_macro2::Span::call_site()), - } - } - } #[cfg(test)] mod test { use super::RustUxTypes;