Skip to content

Commit

Permalink
Removing useless conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
notdanilo committed Oct 26, 2023
1 parent 15a702a commit e3d222d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecosystem/rust/parser/src/module/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ impl ModuleParser {
for item in items {
match item {
syn::Item::Enum(enumeration) =>
types.push(EnumerationParser::new().parse(enumeration.clone())?.into()),
types.push(EnumerationParser::new().parse(enumeration.clone())?),
syn::Item::Struct(structure) =>
types.push(StructureParser::new().parse(structure.clone())?.into()),
types.push(StructureParser::new().parse(structure.clone())?),
syn::Item::Type(_type) => {
todo!("Type object isn't implemented yet.")
},
Expand Down

0 comments on commit e3d222d

Please sign in to comment.