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
f55ac5d8fa
book
/
listings
/
ch15-smart-pointers
/
listing-15-01
/
src
/
main.rs
5 lines
64 B
Rust
Raw
Blame
History
fn
main
(
)
{
let
b
=
Box
::
new
(
5
)
;
println!
(
"
b =
{b}
"
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink