diff --git a/src/main.rs b/src/main.rs index bf07fcf..cd89226 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,4 +35,10 @@ fn main() { // remainder let remainder = 43 % 5; print_type_of(&remainder); + + let t = true; + print_type_of(&t); + + let f: bool = false; // with explicit type annotation + print_type_of(&f); }