This website requires JavaScript.
Explore
Help
Sign in
notohh
/
rustlings
Watch
1
Star
0
Fork
You've already forked rustlings
0
mirror of
https://github.com/notohh/rustlings.git
synced
2024-11-29 16:44:18 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
2af0cd9cce
rustlings
/
exercises
/
01_variables
/
variables2.rs
9 lines
127 B
Rust
Raw
Normal View
History
Unescape
Escape
Add some exercises about variables!
2015-09-16 20:19:24 -04:00
fn
main
(
)
{
let
x
;
if
x
=
=
10
{
fix(variables): reorder and redo hint texts
2022-07-11 07:43:41 -04:00
println!
(
"
x is ten!
"
)
;
Add some exercises about variables!
2015-09-16 20:19:24 -04:00
}
else
{
fix(variables): reorder and redo hint texts
2022-07-11 07:43:41 -04:00
println!
(
"
x is not ten!
"
)
;
Add some exercises about variables!
2015-09-16 20:19:24 -04:00
}
}
Reference in a new issue
Copy permalink