Fix lints by clippy
This commit is contained in:
parent
edce457365
commit
7e22e2d452
9 changed files with 20 additions and 28 deletions
|
|
@ -180,8 +180,8 @@ impl<T: ShaderType + WriteInto> Buffer<T> {
|
|||
let offset = self
|
||||
.offsets
|
||||
.get(index)
|
||||
.expect("Index not found in offsets.")
|
||||
.clone();
|
||||
.copied()
|
||||
.expect("Index not found in offsets.");
|
||||
|
||||
offset
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue