[unstable] Fix error: scoped lint `...` is experimental
diff --git a/src/keys.rs b/src/keys.rs
index ecffecd..c355e5a 100644
--- a/src/keys.rs
+++ b/src/keys.rs
@@ -34,7 +34,7 @@
Up,
}
-#[allow(clippy::match_same_arms)]
+//#[allow(clippy::match_same_arms)]
pub fn char_to_key_press(c: char) -> KeyPress {
if !c.is_control() {
return KeyPress::Char(c);
diff --git a/src/lib.rs b/src/lib.rs
index 8bd5483..6546ec1 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -677,7 +677,7 @@
custom_bindings: Arc<RwLock<HashMap<KeyPress, Cmd>>>,
}
-#[allow(clippy::new_without_default)]
+//#[allow(clippy::new_without_default)]
impl<H: Helper> Editor<H> {
/// Create an editor with the default configuration
pub fn new() -> Editor<H> {
diff --git a/src/tty/unix.rs b/src/tty/unix.rs
index 82229d4..ed7980f 100644
--- a/src/tty/unix.rs
+++ b/src/tty/unix.rs
@@ -27,7 +27,7 @@
/// Unsupported Terminals that don't support RAW mode
static UNSUPPORTED_TERM: [&'static str; 3] = ["dumb", "cons25", "emacs"];
-#[allow(clippy::identity_conversion)]
+//#[allow(clippy::identity_conversion)]
fn get_win_size() -> (usize, usize) {
use std::mem::zeroed;