about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pp/ring.rs
AgeCommit message (Expand)AuthorLines
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_pretty`.Nicholas Nethercote-11/+11
2022-01-19Eliminate a token clone from advance_leftDavid Tolnay-5/+6
2022-01-18Eliminate left and right cursors in favor of ring bufferDavid Tolnay-1/+19
2022-01-18Eliminate eof token stateDavid Tolnay-7/+8
2022-01-18Simplify the buffer push done by scan_breakDavid Tolnay-4/+0
2022-01-18Simplify ring buffer pushesDavid Tolnay-0/+8
2022-01-17Abstract the pretty printer's ringbuffer to be infinitely sizedDavid Tolnay-0/+53