Skip to content

Commit

Permalink
Remove todos regarding maintaining Rust code items, promoted to follo…
Browse files Browse the repository at this point in the history
…w up issue.
  • Loading branch information
ascjones committed Nov 3, 2021
1 parent 2f36a89 commit 6306b9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion codegen/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ impl RuntimeGenerator {
}
};

// todo: [AJ] keep all other code items from decorated mod?
let mod_ident = item_mod_ir.ident;
let pallets_with_storage =
pallets_with_mod_names
Expand Down
4 changes: 1 addition & 3 deletions codegen/src/ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ use syn::{
token,
};

// todo: [AJ] implement ToTokens for this to generate the actual mod
// todo: [AJ] figure out how to incorporate the types and api codegen here...
#[derive(Debug, PartialEq, Eq)]
pub struct ItemMod {
// attrs: Vec<syn::Attribute>, // todo: [AJ] partition attributes between subxt and non-subxt
// attrs: Vec<syn::Attribute>,
vis: syn::Visibility,
mod_token: token::Mod,
pub ident: syn::Ident,
Expand Down

0 comments on commit 6306b9f

Please sign in to comment.