From 3852534ab9c615cac0018f11b4ff450918a7c78f Mon Sep 17 00:00:00 2001 From: Nixon Date: Wed, 14 Aug 2024 17:00:35 +0800 Subject: [PATCH] doc: fix example doc code spacing --- src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4dfe89a..dd6d88e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,13 +35,13 @@ //! use bevy_vello_graphics::{bevy_vello::prelude::*, prelude::*}; //! //! fn spawn_rect(mut commands: Commands) { -//! let rect = ( -//! VelloRect::new(100.0, 200.0), -//! Fill::new().with_color(Color::WHITE), -//! Stroke::new(5.0).with_color(Color::BLACK), -//! ); +//! let rect = ( +//! VelloRect::new(100.0, 200.0), +//! Fill::new().with_color(Color::WHITE), +//! Stroke::new(5.0).with_color(Color::BLACK), +//! ); //! -//! commands.spawn(VelloSceneBundle::default()).insert(rect); +//! commands.spawn(VelloSceneBundle::default()).insert(rect); //! } //! ```