From 07a2c9a712d0c66dc66a56708d1ff38f17d24fd1 Mon Sep 17 00:00:00 2001 From: Daniel Tang Date: Mon, 1 Feb 2021 02:15:06 -0500 Subject: [PATCH] Improve docs language --- wgpu-types/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 61574e574f..2474456b4b 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -847,9 +847,9 @@ impl Default for CullMode { pub enum PolygonMode { /// Polygons are filled Fill = 0, - /// Polygons are draw as line segments + /// Polygons are drawn as line segments Line = 1, - /// Polygons are draw as points + /// Polygons are drawn as points Point = 2, } @@ -873,7 +873,7 @@ pub struct PrimitiveState { /// The face to consider the front for the purpose of culling and stencil operations. #[cfg_attr(any(feature = "trace", feature = "replay"), serde(default))] pub front_face: FrontFace, - /// The fact culling mode. + /// The face culling mode. #[cfg_attr(any(feature = "trace", feature = "replay"), serde(default))] pub cull_mode: CullMode, /// Controls the way each polygon is rasterized. Can be either `Fill` (default), `Line` or `Point`