Skip to content

Commit 9c5f957

Browse files
committed
---
yaml --- r: 37811 b: refs/heads/try c: 5b6c1a2 h: refs/heads/master i: 37809: 1d87bfe 37807: 01d9a22 v: v3
1 parent 1ec2242 commit 9c5f957

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 09bb07bed9166105ea961a42b5fff7739ae0d2e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5-
refs/heads/try: ef2c404e01108a7bd7465bd23d40ff989848bffd
5+
refs/heads/try: 5b6c1a2950ba2a8b6377a387f666b0e50c45fc4f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/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)