This website requires JavaScript.
Explore
Help
Sign In
tristan
/
rustlings
Watch
1
Star
0
Fork
You've already forked rustlings
0
mirror of
https://github.com/rust-lang/rustlings.git
synced
2024-12-28 16:26:31 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
2
49e4a1fab0
rustlings
/
exercises
/
01_variables
/
variables4.rs
7 lines
126 B
Rust
Raw
Normal View
History
Unescape
Escape
Add some exercises about variables!
2015-09-17 01:19:24 +01:00
fn
main
(
)
{
fix(variables): reorder and redo hint texts
2022-07-11 12:43:41 +01:00
let
x
=
3
;
println!
(
"
Number
{}
"
,
x
)
;
x
=
5
;
// don't change this line
Add some exercises about variables!
2015-09-17 01:19:24 +01:00
println!
(
"
Number
{}
"
,
x
)
;
}
Reference in a new issue
Copy permalink