Skip to content

Commit f43c962

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 175554 b: refs/heads/auto c: 00cddb0 h: refs/heads/master v: v3
1 parent e326b81 commit f43c962

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
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 74e111caf6d9634917f77977a4e51e562498be87
13+
refs/heads/auto: 00cddb068c4cb17a91cca646103e0fba8c0a8077
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

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