diff --git a/editor/src/buffer.rs b/editor/src/buffer.rs index 271276a6ac..88cc9f67ff 100644 --- a/editor/src/buffer.rs +++ b/editor/src/buffer.rs @@ -37,7 +37,7 @@ impl QuadBufferBuilder { min_y: f32, max_x: f32, max_y: f32, - color: [f32; 3] + color: [f32; 3], ) -> Self { self.vertex_data.extend(&[ Vertex { diff --git a/editor/src/vertex.rs b/editor/src/vertex.rs index a99a9b7003..a77b6a2a29 100644 --- a/editor/src/vertex.rs +++ b/editor/src/vertex.rs @@ -1,6 +1,6 @@ // Taken from https://github.com/sotrh/learn-wgpu // by Benjamin Hansen, licensed under the MIT license -use cgmath::{Vector2}; +use cgmath::Vector2; #[derive(Copy, Clone)] pub struct Vertex {