This commit is contained in:
2021-07-17 12:54:01 -05:00
parent 6c04b75271
commit 4d2ef1b627

View File

@@ -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);
}