From 62f34669e170d60ebda5b53430c24d62d1b6223c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Sat, 5 Dec 2020 13:23:21 -0500 Subject: [PATCH] cargo fmt --- editor/src/buffer.rs | 2 +- editor/src/vertex.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {