index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
ui
/
array-slice-vec
/
vec-push.rs
blob: 466ab3fab1cab253fea4e2e95389e1c741354005 (
plain
)
1
2
3
// run-pass
pub
fn
main
()
{
let
mut
v
=
vec!
[
1
,
2
,
3
];
v
.
push
(
1
);
}