Remove uneccesary mut

This commit is contained in:
Jarrod Doyle 2023-09-08 15:40:46 +01:00
parent 2e7c82c03d
commit 6706d58016
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ impl<'a> BulkBufferBuilder<'a> {
self self
} }
pub fn with_bytemuck_buffer<A: NoUninit>(mut self, label: &'a str, contents: &'a [A]) -> Self { pub fn with_bytemuck_buffer<A: NoUninit>(self, label: &'a str, contents: &'a [A]) -> Self {
self.with_buffer(label, bytemuck::cast_slice(contents)) self.with_buffer(label, bytemuck::cast_slice(contents))
} }