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 }}
MortenLohne
rust-clippy
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 9, 2023
Auto merge of #11310 - y21:slow_vector_initialization_doc, r=xFrednet,djc
Show description for add2722
bors
committed
add2722
View commit details
Copy full SHA for add2722
Browse repository at this point
Remove unnecessary paragraph, move examples
y21
committed
dd25cc3
View commit details
Copy full SHA for dd25cc3
Browse repository at this point
Reword paragraph
Show description for d2acfb3
y21
and
djc
authored
d2acfb3
View commit details
Copy full SHA for d2acfb3
Browse repository at this point
clarify why `Vec::new()` + resize is worse than `vec![0; N]`
y21
committed
830bac5
View commit details
Copy full SHA for 830bac5
Browse repository at this point
Commits on Aug 8, 2023
Auto merge of #11305 - y21:issue11304, r=Centri3
Show description for 7c595b4
bors
committed
7c595b4
View commit details
Copy full SHA for 7c595b4
Browse repository at this point
document the new behavior and add test for float in struct
y21
committed
b615650
View commit details
Copy full SHA for b615650
Browse repository at this point
[`redundant_guards`]: don't lint on floats
y21
committed
f959ccc
View commit details
Copy full SHA for f959ccc
Browse repository at this point
Commits on Aug 7, 2023
Auto merge of #11295 - lengyijun:typo, r=Centri3
Show description for 84d2896
bors
committed
84d2896
View commit details
Copy full SHA for 84d2896
Browse repository at this point
Commits on Aug 6, 2023
Auto merge of #11191 - Alexendoo:redundant-type-annotations-ice, r=llogiq
Show description for 526d115
bors
committed
526d115
View commit details
Copy full SHA for 526d115
Browse repository at this point
Auto merge of #10843 - MortenLohne:feat/double-const-comparisons, r=Centri3
Show description for 6a2c8a1
bors
committed
6a2c8a1
View commit details
Copy full SHA for 6a2c8a1
Browse repository at this point
Update clippy_lints/src/operators/mod.rs
Show description for d628046
Manishearth
and
Centri3
authored
d628046
View commit details
Copy full SHA for d628046
Browse repository at this point
Provide fallback code snippets, if the snippet is not available
MortenLohne
committed
3157b96
View commit details
Copy full SHA for 3157b96
Browse repository at this point
Replace ConstEvalLateContext::new() with two calls to constant() to simplify the code, after PR suggestion
MortenLohne
committed
0e064d5
View commit details
Copy full SHA for 0e064d5
Browse repository at this point
Add lifetime parameter to 'Constant', after rebasing on upstream
MortenLohne
committed
9646446
View commit details
Copy full SHA for 9646446
Browse repository at this point
Commits on Aug 5, 2023
Rename 'impossible_double_const_comparisons' -> 'impossible_comparisons' and 'ineffective_double_const_comparisons' -> 'redundant_comparisons', after discussion on Zulip
MortenLohne
committed
1d61fc1
View commit details
Copy full SHA for 1d61fc1
Browse repository at this point
Optimize by doing a cheap check for double binary expression first
MortenLohne
committed
b5ef66f
View commit details
Copy full SHA for b5ef66f
Browse repository at this point
Add tests for const comparisons that compare two different types
MortenLohne
committed
8f40d09
View commit details
Copy full SHA for 8f40d09
Browse repository at this point
Add missing variable decl to doc comment
MortenLohne
committed
08e1333
View commit details
Copy full SHA for 08e1333
Browse repository at this point
Add descriptions for 'impossible_double_const_comparisons' and 'ineffective_double_const_comparisons'
MortenLohne
committed
e16a2ac
View commit details
Copy full SHA for e16a2ac
Browse repository at this point
New lints: `impossible_double_const_comparisons` and `ineffective_double_const_comparisons`
MortenLohne
committed
046d3df
View commit details
Copy full SHA for 046d3df
Browse repository at this point
fix: Make ConstEvalLateContext::new() public, to match the 'constant_context()' function that it replaced
MortenLohne
committed
ab1281f
View commit details
Copy full SHA for ab1281f
Browse repository at this point
Small code style adjustments
lengyijun
committed
e5b0483
View commit details
Copy full SHA for e5b0483
Browse repository at this point
Commits on Aug 3, 2023
Auto merge of #11255 - blyxyas:fix-perf-sus_xor_used_as_pow, r=xFrednet
Show description for 5818225
bors
committed
5818225
View commit details
Copy full SHA for 5818225
Browse repository at this point
Fix `suspicious_xor_used_as_pow.rs` performance
blyxyas
committed
3fb8441
View commit details
Copy full SHA for 3fb8441
Browse repository at this point
Auto merge of #11242 - samueltardieu:issue-11238, r=Centri3,giraffate
Show description for 1eb254e
bors
committed
1eb254e
View commit details
Copy full SHA for 1eb254e
Browse repository at this point
Commits on Aug 2, 2023
Auto merge of #11288 - Centri3:#11278, r=Alexendoo
Show description for 237dd59
bors
committed
237dd59
View commit details
Copy full SHA for 237dd59
Browse repository at this point
Take snippet instead of pretty printing type
Centri3
committed
fef85c9
View commit details
Copy full SHA for fef85c9
Browse repository at this point
Auto merge of #11286 - Centri3:#11283, r=Alexendoo
Show description for 97d1cfa
bors
committed
97d1cfa
View commit details
Copy full SHA for 97d1cfa
Browse repository at this point
Suppress `question_mark` if `question_mark_used` is not allowed
Centri3
committed
4d49065
View commit details
Copy full SHA for 4d49065
Browse repository at this point
Auto merge of #11252 - Centri3:#11245, r=xFrednet
Show description for 7af5ea1
bors
committed
7af5ea1
View commit details
Copy full SHA for 7af5ea1
Browse repository at this point
Extract never-like into `clippy_utils`
Centri3
committed
71c5413
View commit details
Copy full SHA for 71c5413
Browse repository at this point
Do not lint unwrapping on `!` or never-like enums
Centri3
committed
779e0f4
View commit details
Copy full SHA for 779e0f4
Browse repository at this point
Auto merge of #11284 - lengyijun:reorder, r=blyxyas
Show description for 78f5e0d
bors
committed
78f5e0d
View commit details
Copy full SHA for 78f5e0d
Browse repository at this point
Alphabetically order arms in methods/mod.rs match
Your Name
committed
72074a0
View commit details
Copy full SHA for 72074a0
Browse repository at this point
Commits on Aug 1, 2023
Auto merge of #11269 - y21:issue11268, r=Centri3
Show description for 588c1ab
bors
committed
588c1ab
View commit details
Copy full SHA for 588c1ab
Browse repository at this point
Previous
Next
You can’t perform that action at this time.