This website requires JavaScript.
Explore
Help
Sign In
mirror
/
rustlings
Watch
1
Star
0
Fork
You've already forked rustlings
0
mirror of
https://github.com/rust-lang/rustlings.git
synced
2024-12-27 00:00:03 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
48697b8225
rustlings
/
exercises
/
01_variables
/
variables1.rs
7 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Add some exercises about variables!
2015-09-17 03:19:24 +03:00
fn
main
(
)
{
Add solutions to intro and variables
2024-05-21 02:47:57 +03:00
// TODO: Add missing keyword.
Add some exercises about variables!
2015-09-17 03:19:24 +03:00
x
=
5
;
Add solutions to intro and variables
2024-05-21 02:47:57 +03:00
println!
(
"
x has the value
{x}
"
)
;
Add some exercises about variables!
2015-09-17 03:19:24 +03:00
}
Reference in a new issue
Copy permalink