mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Some clippy lints
This commit is contained in:
parent
5621f90071
commit
a82c679c97
10 changed files with 45 additions and 46 deletions
|
@ -22,7 +22,7 @@ pub enum Verbosity {
|
|||
}
|
||||
|
||||
impl Verbosity {
|
||||
fn is_verbose(&self) -> bool {
|
||||
fn is_verbose(self) -> bool {
|
||||
match self {
|
||||
Verbosity::Verbose => true,
|
||||
_ => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue