Skip to content

Commit 786e615

Browse files
author
blake2-ppc
committed
---
yaml --- r: 81975 b: refs/heads/master c: 3709aa7 h: refs/heads/master i: 81973: 79873e1 81971: 3595883 81967: ee18e2e v: v3
1 parent b497de2 commit 786e615

File tree

8 files changed

+434
-380
lines changed

8 files changed

+434
-380
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 4a2f8ba8c9dc2e145859fa761e7e912dbf3cf598
2+
refs/heads/master: 3709aa78d8fc75ed739e837d7c96205b8494188d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729

trunk/src/librustc/middle/check_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,12 +773,12 @@ pub fn specialize(cx: &MatchCheckCtxt,
773773
let num_elements = before.len() + after.len();
774774
if num_elements < arity && slice.is_some() {
775775
Some(vec::append(
776-
vec::concat(&[
776+
[
777777
before,
778778
vec::from_elem(
779779
arity - num_elements, wild()),
780780
after
781-
]),
781+
].concat_vec(),
782782
r.tail()
783783
))
784784
} else if num_elements == arity {

0 commit comments

Comments
 (0)