diff --git a/src/unsafe-rust/mutable-static.md b/src/unsafe-rust/mutable-static.md index 1d3e7baaec05..31ec9baddeb1 100644 --- a/src/unsafe-rust/mutable-static.md +++ b/src/unsafe-rust/mutable-static.md @@ -32,7 +32,7 @@ fn main() { // SAFETY: There are no other threads which could be accessing `COUNTER`. unsafe { - println!("COUNTER: {COUNTER}"); + dbg!(COUNTER); } } ```