workaround for rust nightly clippy bug

This commit is contained in:
Stephan Dilly 2021-03-02 09:23:34 +01:00
parent 7de5265d5d
commit bead96db08
2 changed files with 6 additions and 0 deletions

View file

@ -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};

View file

@ -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::{