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.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nova-core/sbuffer.rs b/drivers/gpu/nova-core/sbuffer.rs
index 25e3ad665cac..7a5947b8be19 100644
--- a/drivers/gpu/nova-core/sbuffer.rs
+++ b/drivers/gpu/nova-core/sbuffer.rs
@@ -199,7 +199,6 @@ where
/// Ideally we would implement [`Write`], but it is not available in `core`.
/// So mimic `std::io::Write::write_all`.
- #[expect(unused)]
pub(crate) fn write_all(&mut self, mut src: &[u8]) -> Result {
while !src.is_empty() {
match self.get_slice_mut(src.len()) {