summaryrefslogtreecommitdiff
path: root/src/grid/row.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid/row.rs')
-rw-r--r--src/grid/row.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grid/row.rs b/src/grid/row.rs
index 7c12bf99..abfb9f93 100644
--- a/src/grid/row.rs
+++ b/src/grid/row.rs
@@ -71,7 +71,7 @@ impl<T: Copy + Clone> Row<T> {
}
}
-#[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
+#[allow(clippy::len_without_is_empty)]
impl<T> Row<T> {
pub fn shrink(&mut self, cols: Column) {
while self.len() != *cols {