more clippy fixes
This commit is contained in:
@@ -62,7 +62,7 @@ impl AnimationFrames for Vec<Image> {
|
||||
let mut string = String::new();
|
||||
let last_frame = self.len() - 1;
|
||||
|
||||
for (i, frame) in self.into_iter().enumerate() {
|
||||
for (i, frame) in self.iter().enumerate() {
|
||||
string.push_str(&frame.to_string());
|
||||
|
||||
if i < last_frame {
|
||||
|
||||
Reference in New Issue
Block a user