From bead96db0814ce946312182588f726de416a8063 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Tue, 2 Mar 2021 09:23:34 +0100 Subject: [PATCH] workaround for rust nightly clippy bug --- src/keys.rs | 3 +++ src/ui/style.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/keys.rs b/src/keys.rs index 064dd9e1..503cf5e5 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -1,3 +1,6 @@ +//TODO: remove once fixed https://github.com/rust-lang/rust-clippy/issues/6818 +#![allow(clippy::use_self)] + use crate::get_app_config_path; use anyhow::Result; use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; diff --git a/src/ui/style.rs b/src/ui/style.rs index 50b81b21..52ec05d6 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -1,3 +1,6 @@ +//TODO: remove once fixed https://github.com/rust-lang/rust-clippy/issues/6818 +#![allow(clippy::use_self)] + use anyhow::Result; use asyncgit::{DiffLineType, StatusItemType}; use ron::{