Skip to content

Commit 82f1f29

Browse files
hoshinolinajannau
authored andcommitted
drm/asahi: util: Commend out unused len() method
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent f6f467c commit 82f1f29

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/gpu/drm/asahi/util.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ where
6666
pub(crate) trait RangeExt<T> {
6767
fn overlaps(&self, other: Self) -> bool;
6868
fn is_superset(&self, other: Self) -> bool;
69-
fn len(&self) -> usize;
69+
// fn len(&self) -> usize;
7070
fn range(&self) -> T;
7171
}
7272

@@ -89,7 +89,7 @@ where
8989
self.end - self.start
9090
}
9191
}
92-
fn len(&self) -> usize {
93-
self.range().try_into().unwrap()
94-
}
92+
// fn len(&self) -> usize {
93+
// self.range().try_into().unwrap()
94+
// }
9595
}

0 commit comments

Comments
 (0)