Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
doc
/
book
/
listings
/
ch15-smart-pointers
/
listing-15-06
/
src
/
main.rs
blob: 174b620cf4c676f2e129b927882db2535557ddeb [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
5
;
let
y
=
&
x
;
assert_eq
!(
5
,
x
);
assert_eq
!(
5
,
*
y
);
}