Skip to content

Commit ac8f6ee

Browse files
committed
---
yaml --- r: 7358 b: refs/heads/master c: ab86642 h: refs/heads/master v: v3
1 parent dfff3c6 commit ac8f6ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 27fe23dcaaac1695788e483ddae1167a23bffec8
2+
refs/heads/master: ab86642e35220cd1469b9eb288ab084625d77c5d

trunk/src/rustdoc/util.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
2-
fn fst<T, U>(+pair: (T, U)) -> T {
1+
// FIXME #1546: Would rather write fst<T, U>(+pair: (T, U)) -> T
2+
fn fst<T:copy, U:copy>(pair: (T, U)) -> T {
33
let (t, _) = pair;
44
ret t;
55
}
66

7-
fn snd<T, U>(+pair: (T, U)) -> U {
7+
fn snd<T:copy, U:copy>(pair: (T, U)) -> U {
88
let (_, u) = pair;
99
ret u;
1010
}

0 commit comments

Comments
 (0)