Skip to content

Commit 8de9c6d

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 176637 b: refs/heads/tmp c: 00cddb0 h: refs/heads/master i: 176635: 954bd7f v: v3
1 parent 99ddeff commit 8de9c6d

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
@@ -34,4 +34,4 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 74e111caf6d9634917f77977a4e51e562498be87
37+
refs/heads/tmp: 00cddb068c4cb17a91cca646103e0fba8c0a8077

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