1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-07 06:55:42 +02:00

Use dbg! instead of println! in day 3 & 4. (#2669)

Part of #2478 to clean up code blocks when all that is needed is a
trivial debug print statement.

Co-authored-by: Eric Githinji <egithinji@google.com>
This commit is contained in:
Eric Githinji
2025-02-27 21:46:55 +03:00
committed by GitHub
parent 241c28ed7e
commit ea53e3c935
12 changed files with 25 additions and 25 deletions

View File

@ -14,8 +14,8 @@ fn main() {
let a = Rc::new(10);
let b = Rc::clone(&a);
println!("a: {a}");
println!("b: {b}");
dbg!(a);
dbg!(b);
}
```