Inline EscapeDebug::size_hint.
This commit is contained in:
parent
c3202afa28
commit
e3fc97be2b
1 changed files with 1 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ impl Iterator for EscapeDebug {
|
|||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn size_hint(&self) -> (usize, Option<usize>) {
|
||||
let n = self.len();
|
||||
(n, Some(n))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue