Update variables2.rs

This commit is contained in:
oM 2024-02-02 00:31:14 +08:00 committed by GitHub
parent c71a5852cf
commit 93f6ccb805
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@
fn main() { fn main() {
let x; let x;
if x == 10 { if x == 10 {
println!("x is equal ten!"); println!("x is equal to ten!");
} else { } else {
println!("x is not equal to ten!"); println!("x is not equal to ten!");
} }