Skip to content

Commit 2973cd6

Browse files
committed
---
yaml --- r: 35337 b: refs/heads/master c: 5b6c1a2 h: refs/heads/master i: 35335: d9f7813 v: v3
1 parent a5b0173 commit 2973cd6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
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: ef2c404e01108a7bd7465bd23d40ff989848bffd
2+
refs/heads/master: 5b6c1a2950ba2a8b6377a387f666b0e50c45fc4f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/libcore/to_bytes.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ impl<A: IterBytes, B: IterBytes> (A,B): IterBytes {
196196
pure fn iter_bytes(lsb0: bool, f: Cb) {
197197
match self {
198198
(ref a, ref b) => {
199-
a.iter_bytes(lsb0, f);
200-
b.iter_bytes(lsb0, f);
199+
iter_bytes_2(a, b, lsb0, f);
201200
}
202201
}
203202
}
@@ -208,9 +207,7 @@ impl<A: IterBytes, B: IterBytes, C: IterBytes> (A,B,C): IterBytes {
208207
pure fn iter_bytes(lsb0: bool, f: Cb) {
209208
match self {
210209
(ref a, ref b, ref c) => {
211-
a.iter_bytes(lsb0, f);
212-
b.iter_bytes(lsb0, f);
213-
c.iter_bytes(lsb0, f);
210+
iter_bytes_3(a, b, c, lsb0, f);
214211
}
215212
}
216213
}

0 commit comments

Comments
 (0)