Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 7efdf31

Browse files
authored
Merge pull request #1420 from matthiaskrgr/clippy_3
fix clippy warnings
2 parents 49efc06 + 0593c25 commit 7efdf31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rls-rustc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use std::env;
1919
use std::process;
2020

2121
pub fn run() {
22-
drop(env_logger::init());
22+
env_logger::init();
2323
let result = rustc_driver::report_ices_to_stderr_if_any(|| {
2424
let args = env::args_os()
2525
.enumerate()

rls/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
#![feature(rustc_private, drain_filter)]
99
#![warn(clippy::all, rust_2018_idioms)]
10-
#![allow(clippy::cyclomatic_complexity, clippy::too_many_arguments, clippy::redundant_closure)]
10+
#![allow(clippy::cognitive_complexity, clippy::too_many_arguments, clippy::redundant_closure)]
1111

1212
#[macro_use]
1313
extern crate failure;

0 commit comments

Comments
 (0)