mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-02-23 00:57:08 +09:00
refactor(generator): remove impl DataType (use DataType -> RustUxTypes -> Ident)
This commit is contained in:
parent
7c1a0856a0
commit
4131ce1880
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue