summaryrefslogtreecommitdiff
path: root/src/grid/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid/mod.rs')
-rw-r--r--src/grid/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grid/mod.rs b/src/grid/mod.rs
index 9e15bd02..b6313751 100644
--- a/src/grid/mod.rs
+++ b/src/grid/mod.rs
@@ -404,7 +404,7 @@ impl<T: Copy + Clone> Grid<T> {
}
}
-#[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
+#[allow(clippy::len_without_is_empty)]
impl<T> Grid<T> {
#[inline]
pub fn num_lines(&self) -> index::Line {