From f2cb7ab9c7a22f8e70de8a27be6f2c59dbd2e1e2 Mon Sep 17 00:00:00 2001 From: endernon Date: Wed, 6 Nov 2024 17:23:44 +0000 Subject: [PATCH] fix borrow errors using dbg! --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 17ec69b..626a902 100644 --- a/src/main.rs +++ b/src/main.rs @@ -156,7 +156,7 @@ fn cook() -> Result<(), Errorfr> { } if debug_mode { - dbg!(powdervec); + dbg!(&powdervec); } // old powder data encode kinda, takes data from new encode @@ -175,7 +175,7 @@ fn cook() -> Result<(), Errorfr> { dbg!(rerollcount); }; }; - }; + } None => pass(), }; @@ -189,7 +189,7 @@ fn cook() -> Result<(), Errorfr> { if i.key == shiny.key { realshinykey = i.id; if debug_mode { - dbg!(shiny.key); + dbg!(&shiny.key); } } }