From de6d87c2c06721b68dd58f174e69480078a1c762 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Sun, 4 Aug 2024 17:26:32 +0200 Subject: [PATCH] fix: Small typos --- crates/elements/src/_docs/color_syntax.rs | 2 +- crates/torin/src/values/position.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/elements/src/_docs/color_syntax.rs b/crates/elements/src/_docs/color_syntax.rs index a4ac49832..022a5925c 100644 --- a/crates/elements/src/_docs/color_syntax.rs +++ b/crates/elements/src/_docs/color_syntax.rs @@ -3,7 +3,7 @@ //! The attributes that have colors as values can use the following syntax: //! //! #### Static colors -//! - `rect` +//! - `red` //! - `blue` //! - `green` //! - `yellow` diff --git a/crates/torin/src/values/position.rs b/crates/torin/src/values/position.rs index 99b13846f..893c54316 100644 --- a/crates/torin/src/values/position.rs +++ b/crates/torin/src/values/position.rs @@ -151,7 +151,7 @@ impl Scaled for Position { impl Position { pub fn pretty(&self) -> String { match self { - Self::Stacked => "horizontal".to_string(), + Self::Stacked => "stacked".to_string(), Self::Absolute(positions) => format!( "{}, {}, {}, {}", positions.top.unwrap_or_default(),