clippy
This commit is contained in:
parent
ec477975f0
commit
50a30b74b5
2 changed files with 1 additions and 2 deletions
|
|
@ -94,7 +94,6 @@ impl PolyLine {
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(Vector2::into)
|
.map(Vector2::into)
|
||||||
.map(Vertex::new_f64)
|
.map(Vertex::new_f64)
|
||||||
.into_iter()
|
|
||||||
.collect();
|
.collect();
|
||||||
let indices = if vertices.is_empty() {
|
let indices = if vertices.is_empty() {
|
||||||
vec![]
|
vec![]
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ impl<'window> State<'window> {
|
||||||
},
|
},
|
||||||
..
|
..
|
||||||
} => {
|
} => {
|
||||||
self.current_pipeline = self.current_pipeline ^ 1;
|
self.current_pipeline ^= 1;
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
_ => false,
|
_ => false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue