Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
box
/
unit
/
unique-in-vec.rs
blob: 8c6552ad163575fa0bdc2812a7668d41937244dd [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
pub
fn
main
()
{
let
vect
:
Vec
<
Box
<
_
>>
=
vec
![
Box
::
new
(
100
)];
assert_eq
!(
vect
[
0
],
Box
::
new
(
100
));
}