mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 11:45:01 +01:00
more
This commit is contained in:
parent
776ba3b88b
commit
8155539d45
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use quote::quote;
|
|||
#[proc_macro_derive(Inspect)]
|
||||
pub fn derive_inspect(input: TokenStream) -> TokenStream {
|
||||
let expanded = quote! {
|
||||
impl Inspect for GameState {
|
||||
impl GameState {
|
||||
fn inspect_mut(&mut self) {
|
||||
output_mut(|o| o.copied_text = "".into());
|
||||
output_mut(|o| o.copied_text = format!("{:?}", self.tile_db));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue