Skip to content

bitv: backticks for code in documentation #9518

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

Closed
wants to merge 1 commit into from
Closed

bitv: backticks for code in documentation #9518

wants to merge 1 commit into from

Conversation

kud1ing
Copy link

@kud1ing kud1ing commented Sep 26, 2013

No description provided.

@huonw
Copy link
Member

huonw commented Sep 26, 2013

Landing in #9523.

@huonw huonw closed this Sep 26, 2013
bors added a commit that referenced this pull request Sep 27, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
`question_mark` don't lint on `if let Err` with `else`

cc rust-lang#9518

AFAICT the only time this would be a valid suggestion is the rather esoteric

```rust
let _ = if let Err(e) = x {
    return Err(e);
} else {
    // no side effects
    x.unwrap()
}
```

which doesn't seem worth checking to me. Please correct me if I'm missing something.

changelog: [`question_mark`] don't lint on `if let Err` with `else`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants