We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff58b7b commit dfff142Copy full SHA for dfff142
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: b1eb4579c695871f75c995b7792ec5f100fbabf9
+refs/heads/master: 397f33fd35558fd0c390ae29839ecbaf7ce456f9
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/src/libcore/vec.rs
@@ -334,7 +334,7 @@ fn pop<T>(&v: [const T]) -> T unsafe {
334
}
335
336
#[doc = "Append an element to a vector"]
337
-fn push<T: copy>(&v: [const T], initval: T) {
+fn push<T>(&v: [const T], +initval: T) {
338
v += [initval];
339
340
0 commit comments