Jonathan Lee

Results 40 comments of Jonathan Lee

> @J-ZhengLi Please feel free to open a PR to fix the doc. Sure :thinking: but before I do, I have a simple question. I know this might be a...

Here's a much simpler example in [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=304896d4824a8bb395a50170eb71c5aa) I think the problem here is that you don't need to add a semicolon after `if..else`, and `[needless_return]` does not take it into...

seems interesting... ~~`@rustbot claim`~~ on a second thought... maybe it'd be better to give other people this chance consider it's a good-first-issue~

> @rustbot claim > > @J-ZhengLi I'm still new to Rust and this would be my first contribution to clippy so would you be available for questions if I run...

> Am i reproducing this issue correctly? > > ``` > fn manual_unwrap_or_example(opt: option) -> i32 { > if let some(val) = opt { > val > } else {...