-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor edit to text region replacement #5140
Conversation
702f258
to
dda13d4
Compare
dda13d4
to
cf58537
Compare
} | ||
|
||
pub static DOCS_LINK: &str = "https://rust-lang.github.io/rust-clippy/master/index.html"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not const
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had an debate with people on rustup. It seems that people prefer static str
rather than
const str
. They like that because static item have static address in binary.
@bors r+ |
📌 Commit cf58537 has been approved by |
Minor edit to text region replacement changelog: none
💔 Test failed - status-appveyor |
@bors retry |
Minor edit to text region replacement changelog: none
☀️ Test successful - checks-travis, status-appveyor |
changelog: none