about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-01-08 18:16:20 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-01-08 18:16:20 -0500
commit7b36408b5f6373647eba37ad1f91c26070298454 (patch)
tree2c8ac31c2ee11e979a9d3f420b09a6d9e2d629de /library/std/src/sys/unix/stack_overflow.rs
parent26438b473883ea607b30288e461187f0fb2fe589 (diff)
downloadrust-7b36408b5f6373647eba37ad1f91c26070298454.tar.gz
rust-7b36408b5f6373647eba37ad1f91c26070298454.zip
Use an empty `TokenCursorFrame` stack when capturing tokens
We will never need to pop  past our starting frame during token
capturing. Using an empty stack allows us to avoid pointless heap
allocations/deallocations.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions