diff options
| -rw-r--r-- | compiler/rustc_ast/src/tokenstream.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast/src/tokenstream.rs b/compiler/rustc_ast/src/tokenstream.rs index 857dc307c98..3321d3bf380 100644 --- a/compiler/rustc_ast/src/tokenstream.rs +++ b/compiler/rustc_ast/src/tokenstream.rs @@ -575,6 +575,7 @@ impl Cursor { Cursor { stream, index: 0 } } + #[inline] pub fn next_with_spacing(&mut self) -> Option<TreeAndSpacing> { self.stream.0.get(self.index).map(|tree| { self.index += 1; |
