index
:
rustc
debian
progress-linux
upstream
debian 12 backports: mozilla
Progress Linux
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
doc
/
book
/
listings
/
ch15-smart-pointers
/
listing-15-07
/
src
/
main.rs
blob: 4933a416baf2456aa70c74d97a0d8901c215061a (
plain
)
1
2
3
4
5
6
7
fn
main
()
{
let
x
=
5
;
let
y
=
Box
::
new
(
x
);
assert_eq!
(
5
,
x
);
assert_eq!
(
5
,
*
y
);
}