Skip to content

Conversation

@nyurik
Copy link
Contributor

@nyurik nyurik commented Dec 23, 2022

  • use default derive
  • use strip_prefix where possible to avoid dup work

* use default derive
* use `strip_prefix` where possible to avoid dup work
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 23, 2022
const HOMU_PREFIX: &str = "Auto merge of #";
if s.starts_with(BORS_PREFIX) {
let s = &s[BORS_PREFIX.len()..];
if let Some(s) = s.strip_prefix(BORS_PREFIX) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@lnicola
Copy link
Member

lnicola commented Dec 24, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Dec 24, 2022

📌 Commit ec55dd1 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Dec 24, 2022

⌛ Testing commit ec55dd1 with merge 1927c2e...

@bors
Copy link
Contributor

bors commented Dec 24, 2022

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 1927c2e to master...

@bors bors merged commit 1927c2e into rust-lang:master Dec 24, 2022
@nyurik nyurik deleted the lints branch December 24, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants