We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9ff16 commit 3588469Copy full SHA for 3588469
src/libcore/iter.rs
@@ -3041,7 +3041,7 @@ impl<T> Iterator for Empty<T> {
3041
fn next(&mut self) -> Option<T> {
3042
None
3043
}
3044
-
+
3045
fn size_hint(&self) -> (usize, Option<usize>){
3046
(0, Some(0))
3047
@@ -3057,7 +3057,7 @@ impl<T> DoubleEndedIterator for Empty<T> {
3057
#[unstable(feature="iter_empty", reason = "new addition")]
3058
impl<T> ExactSizeIterator for Empty<T> {
3059
fn len(&self) -> usize {
3060
- 0
+ 0
3061
3062
3063
@@ -3099,7 +3099,7 @@ impl<T> Iterator for Once<T> {
3099
self.inner.next()
3100
3101
3102
- fn size_hint(&self) -> (usize, Option<usize>) {
+ fn size_hint(&self) -> (usize, Option<usize>) {
3103
self.inner.size_hint()
3104
3105
0 commit comments