This website works better with JavaScript.
Explore
Help
Register
Sign In
rust
/
trpl-zh-cn
mirror of
https://github.com/KaiserY/trpl-zh-cn
Watch
5
Star
0
Fork
You've already forked trpl-zh-cn
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
373e77fa8c
gh-pages
main
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '373e77fa8c'
${ noResults }
trpl-zh-cn
/
listings
/
ch15-smart-pointers
/
listing-15-07
/
src
/
main.rs
8 lines
100 B
Raw
Blame
History
fn
main
(
)
{
let
x
=
5
;
let
y
=
Box
::
new
(
x
)
;
assert_eq!
(
5
,
x
)
;
assert_eq!
(
5
,
*
y
)
;
}
Reference in new issue
View Git Blame
Copy Permalink