Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
17.3k
Star
119k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Suggest
i += 1
when we see
i++
or
++i
- #88672
#88672
Merged
bors
merged 16 commits into
rust-lang:master
rust-lang/rust:master
from
camelid:inc-parser-sugg
camelid/rust:inc-parser-sugg
Copy head branch name to clipboard
Apr 3, 2022
Conversation
Commits
16
(16)
Checks
Files changed
Merged
Suggest
i += 1
when we see
i++
or
++i
#88672
bors
merged 16 commits into
rust-lang:master
rust-lang/rust:master
from
camelid:inc-parser-sugg
camelid/rust:inc-parser-sugg
Copy head branch name to clipboard
Commits
Commits on Mar 24, 2022
Suggest `i += 1` when we see `i++` or `++i`
camelid
committed
5d9cd4b
View commit details
Copy full SHA for 5d9cd4b
Browse repository at this point
Move increment checks to improve errors
camelid
committed
c9cc43a
View commit details
Copy full SHA for c9cc43a
Browse repository at this point
Remove error recovery todos
camelid
committed
d915606
View commit details
Copy full SHA for d915606
Browse repository at this point
Reduce rightward drift
camelid
committed
80e57e2
View commit details
Copy full SHA for 80e57e2
Browse repository at this point
Refactor, handle fields better, add field tests
camelid
committed
67a9adb
View commit details
Copy full SHA for 67a9adb
Browse repository at this point
Emit structured suggestions for field accesses too
camelid
committed
7287f92
View commit details
Copy full SHA for 7287f92
Browse repository at this point
Emit both subexp and standalone sugg for postfix
Show description for 62b8ea6
camelid
committed
62b8ea6
View commit details
Copy full SHA for 62b8ea6
Browse repository at this point
Improve handling of `tmp` variable name conflicts
camelid
committed
073010d
View commit details
Copy full SHA for 073010d
Browse repository at this point
Bless tests
camelid
committed
713a11b
View commit details
Copy full SHA for 713a11b
Browse repository at this point
Improve function names
camelid
committed
29a5c36
View commit details
Copy full SHA for 29a5c36
Browse repository at this point
Add heuristic to avoid treating `x + +2` as increment
camelid
committed
4212835
View commit details
Copy full SHA for 4212835
Browse repository at this point
Make `standalone` an enum
camelid
committed
95960b7
View commit details
Copy full SHA for 95960b7
Browse repository at this point
Change temporary variable name if it would conflict
camelid
committed
ef74796
View commit details
Copy full SHA for ef74796
Browse repository at this point
Use `multipart_suggestions`
Show description for 725cde4
camelid
committed
725cde4
View commit details
Copy full SHA for 725cde4
Browse repository at this point
Fix rustfix panic on test
Show description for 86220d6
camelid
committed
86220d6
View commit details
Copy full SHA for 86220d6
Browse repository at this point
Commits on Mar 27, 2022
Fix from rebase
Show description for 4943688
camelid
committed
4943688
View commit details
Copy full SHA for 4943688
Browse repository at this point
You can’t perform that action at this time.