about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-07-31 16:36:27 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-08-02 10:11:41 +1000
commit6fc2c481e5a7daf1873ccc34926f1c0387979569 (patch)
treeadb1638698fe0ea4f7fc05661f0168c97ea6fb6a /compiler/rustc_codegen_gcc/example/example.rs
parent54eb6bc34c841c8d81afd1bbe15446bf3e20990c (diff)
downloadrust-6fc2c481e5a7daf1873ccc34926f1c0387979569.tar.gz
rust-6fc2c481e5a7daf1873ccc34926f1c0387979569.zip
Move `TokenCursor::break_last_token` into `Parser`.
Similar to the last commit, it's more of a `Parser`-level concern than a
`TokenCursor`-level concern. And the struct size reductions are nice.

After this change, `TokenCursor` is as minimal as possible (two fields
and two methods) which is nice.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions