1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-12-23 06:56:25 +02:00

Use dbg! instead of println! in Day 1 mng session (#2652)

As mentioned in #2478, this cleans up the code blocks when all that is
needed is a trivial debug print statement.
Only making changes to Day 1 morning session so that I can get feedback
before proceeding with the rest of the course.

---------

Co-authored-by: Eric Githinji <egithinji@google.com>
This commit is contained in:
Eric Githinji
2025-02-24 17:12:56 +03:00
committed by GitHub
parent 49e4efcd9e
commit 0daab179e9
7 changed files with 13 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ fn main() {
if i % 2 == 0 {
continue;
}
println!("{}", i);
dbg!(i);
}
}
```