This website requires JavaScript.
Explore
Help
Sign In
rust
/
book
mirror of
https://github.com/rust-lang/book
Watch
1
Star
0
Fork
You've already forked book
0
Code
Issues
Releases
Wiki
Activity
5c71aac643
book
/
listings
/
ch03-common-programming-con...
/
no-listing-02-adding-mut
/
src
/
main.rs
7 lines
128 B
Rust
Raw
Blame
History
fn
main
(
)
{
let
mut
x
=
5
;
println!
(
"
The value of x is:
{}
"
,
x
)
;
x
=
6
;
println!
(
"
The value of x is:
{}
"
,
x
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink