Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
rust
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.4k
(1.4k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Pretty printer algorithm revamp step 2
- #93065
#93065
Merged
bors
merged 15 commits into
rust-
lang:
master
rust-lang/rust:master
from
dtolnay:
ringbuffer
dtolnay/rust:ringbuffer
Copy head branch name to clipboard
Jan 20, 2022
Conversation
Commits
15
(15)
Checks
Files changed
Merged
Pretty printer algorithm revamp step 2
#93065
bors
merged 15 commits into
rust-
lang:
master
rust-lang/rust:master
from
dtolnay:
ringbuffer
dtolnay/rust:ringbuffer
Copy head branch name to clipboard
Commits
Commits on Jan 19, 2022
Inline Printer's advance_right method
dtolnay
committed
fdb95f5
View commit details
Copy full SHA for fdb95f5
Browse repository at this point
Inline Printer's scan_push method
dtolnay
committed
e219b2b
View commit details
Copy full SHA for e219b2b
Browse repository at this point
Simplify ring buffer pushes
dtolnay
committed
50d722a
View commit details
Copy full SHA for 50d722a
Browse repository at this point
Inline Printer's scan_pop method
dtolnay
committed
e20d5ab
View commit details
Copy full SHA for e20d5ab
Browse repository at this point
Inline Printer's scan_top method
dtolnay
committed
2a14275
View commit details
Copy full SHA for 2a14275
Browse repository at this point
Inline Printer's scan_pop_bottom method
dtolnay
committed
ae28ec5
View commit details
Copy full SHA for ae28ec5
Browse repository at this point
Ensure Printer buf is always indexed using self.left or self.right
dtolnay
committed
80139a0
View commit details
Copy full SHA for 80139a0
Browse repository at this point
Replace `if` + `unwrap` with `if let` in check_stack
dtolnay
committed
947a09a
View commit details
Copy full SHA for 947a09a
Browse repository at this point
Implement check_stream nonrecursively
dtolnay
committed
0490e43
View commit details
Copy full SHA for 0490e43
Browse repository at this point
Implement check_stack nonrecursively
dtolnay
committed
a37d272
View commit details
Copy full SHA for a37d272
Browse repository at this point
Index a single time in check_stack
dtolnay
committed
377c9db
View commit details
Copy full SHA for 377c9db
Browse repository at this point
Eliminate a check_stack call on an empty scan stack
dtolnay
committed
fe5c4ea
View commit details
Copy full SHA for fe5c4ea
Browse repository at this point
Simplify the buffer push done by scan_break
dtolnay
committed
6e8b060
View commit details
Copy full SHA for 6e8b060
Browse repository at this point
Eliminate eof token state
dtolnay
committed
cc66a7f
View commit details
Copy full SHA for cc66a7f
Browse repository at this point
Eliminate left and right cursors in favor of ring buffer
dtolnay
committed
4d3faae
View commit details
Copy full SHA for 4d3faae
Browse repository at this point
You can’t perform that action at this time.