summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/sbuffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nova-core/sbuffer.rs')
-rw-r--r--drivers/gpu/nova-core/sbuffer.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nova-core/sbuffer.rs b/drivers/gpu/nova-core/sbuffer.rs
index f0cecbcb81be..25e3ad665cac 100644
--- a/drivers/gpu/nova-core/sbuffer.rs
+++ b/drivers/gpu/nova-core/sbuffer.rs
@@ -50,7 +50,6 @@ where
/// let sum: u8 = sbuffer.sum();
/// assert_eq!(sum, 45);
/// ```
- #[expect(unused)]
pub(crate) fn new_reader(slices: impl IntoIterator<IntoIter = I>) -> Self
where
I: Iterator<Item = &'a [u8]>,
@@ -72,7 +71,6 @@ where
/// assert_eq!(buf2, [5, 6, 7, 8, 9]);
///
/// ```
- #[expect(unused)]
pub(crate) fn new_writer(slices: impl IntoIterator<IntoIter = I>) -> Self
where
I: Iterator<Item = &'a mut [u8]>,
@@ -131,7 +129,6 @@ where
}
/// Returns whether this buffer still has data available.
- #[expect(unused)]
pub(crate) fn is_empty(&self) -> bool {
self.cur_slice.is_none()
}