about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-12-11 12:29:04 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-12-18 10:31:39 +1100
commit3575e7943b4d4a47c30716c50884d4ceee1b7dcd (patch)
tree5da82514a016b43bbb8d5fee3660f124cd138e8c /compiler/rustc_parse/src/parser
parent0bf6e82c540c838c277ef3ae54c2ac125391dde9 (diff)
downloadrust-3575e7943b4d4a47c30716c50884d4ceee1b7dcd.tar.gz
rust-3575e7943b4d4a47c30716c50884d4ceee1b7dcd.zip
Simplify `RefTokenTreeCursor::look_ahead`.
It's only ever used with a lookahead of 0, so this commit removes the
lookahead and renames it `peek`.
Diffstat (limited to 'compiler/rustc_parse/src/parser')
0 files changed, 0 insertions, 0 deletions