cargo fmt

This commit is contained in:
Richard Feldman 2020-12-05 13:23:21 -05:00
parent c908f19989
commit 62f34669e1
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ impl QuadBufferBuilder {
min_y: f32, min_y: f32,
max_x: f32, max_x: f32,
max_y: f32, max_y: f32,
color: [f32; 3] color: [f32; 3],
) -> Self { ) -> Self {
self.vertex_data.extend(&[ self.vertex_data.extend(&[
Vertex { Vertex {

View file

@ -1,6 +1,6 @@
// Taken from https://github.com/sotrh/learn-wgpu // Taken from https://github.com/sotrh/learn-wgpu
// by Benjamin Hansen, licensed under the MIT license // by Benjamin Hansen, licensed under the MIT license
use cgmath::{Vector2}; use cgmath::Vector2;
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
pub struct Vertex { pub struct Vertex {