From de9c09e2bd8047c204acb6786d7f6c0d79911bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sat, 19 Jan 2019 09:27:45 +0100 Subject: [PATCH] rustup https://github.com/rust-lang/rust/pull/57747 --- clippy_lints/src/open_options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/open_options.rs b/clippy_lints/src/open_options.rs index e21225fbd293..fe572d86c1bd 100644 --- a/clippy_lints/src/open_options.rs +++ b/clippy_lints/src/open_options.rs @@ -72,7 +72,7 @@ fn get_open_options(cx: &LateContext<'_, '_>, argument: &Expr, options: &mut Vec if let Spanned { node: LitKind::Bool(lit), .. - } = **span + } = *span { if lit { Argument::True