Skip to content

Commit 0806eda

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 174757 b: refs/heads/snap-stage3 c: 00cddb0 h: refs/heads/master i: 174755: 1a0f6c7 v: v3
1 parent e82a5fe commit 0806eda

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: a0f86de49748b472d4d189d9688b0d856c000914
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 74e111caf6d9634917f77977a4e51e562498be87
4+
refs/heads/snap-stage3: 00cddb068c4cb17a91cca646103e0fba8c0a8077
55
refs/heads/try: 08f6380a9f0b866796080094f44fe25ea5636547
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/liballoc/boxed.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ impl<'a, T> Iterator for Box<Iterator<Item=T> + 'a> {
194194
fn next(&mut self) -> Option<T> {
195195
(**self).next()
196196
}
197+
198+
fn size_hint(&self) -> (usize, Option<usize>) {
199+
(**self).size_hint()
200+
}
197201
}
198202

199203
#[cfg(test)]

branches/snap-stage3/src/libcore/iter.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ impl<'a, T> Iterator for &'a mut (Iterator<Item=T> + 'a) {
107107
fn next(&mut self) -> Option<T> {
108108
(**self).next()
109109
}
110+
111+
fn size_hint(&self) -> (usize, Option<usize>) {
112+
(**self).size_hint()
113+
}
110114
}
111115

112116
/// Conversion from an `Iterator`

0 commit comments

Comments
 (0)