mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
more
This commit is contained in:
parent
98730fcab1
commit
accbdc83bf
2 changed files with 7 additions and 7 deletions
|
|
@ -4,12 +4,8 @@ use quote::quote;
|
|||
#[proc_macro]
|
||||
pub fn expand(_: TokenStream) -> TokenStream {
|
||||
quote! {
|
||||
impl GameState {
|
||||
fn inspect_mut(&mut self) {
|
||||
output_mut(|o| o.copied_text = "".into());
|
||||
output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
}
|
||||
}
|
||||
output_mut(|o| o.copied_text = "".into());
|
||||
output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
}
|
||||
.into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue