mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-07 03:09:19 +00:00
Update variables2.rs
- Improved phrasing.
This commit is contained in:
parent
8d0aa11a35
commit
c71a5852cf
@ -8,8 +8,8 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
let x;
|
let x;
|
||||||
if x == 10 {
|
if x == 10 {
|
||||||
println!("x is ten!");
|
println!("x is equal ten!");
|
||||||
} else {
|
} else {
|
||||||
println!("x is not ten!");
|
println!("x is not equal to ten!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user