We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babff22 commit 63e74abCopy full SHA for 63e74ab
1 file changed
library/proc_macro/src/lib.rs
@@ -382,6 +382,14 @@ pub mod token_stream {
382
bridge::TokenTree::Literal(tt) => TokenTree::Literal(Literal(tt)),
383
})
384
}
385
+
386
+ fn size_hint(&self) -> (usize, Option<usize>) {
387
+ self.0.size_hint()
388
+ }
389
390
+ fn count(self) -> usize {
391
+ self.0.count()
392
393
394
395
#[stable(feature = "proc_macro_lib2", since = "1.29.0")]
0 commit comments