Skip to content

Commit

Permalink
fix: Small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Aug 4, 2024
1 parent f5c638b commit de6d87c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/elements/src/_docs/color_syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! The attributes that have colors as values can use the following syntax:
//!
//! #### Static colors
//! - `rect`
//! - `red`
//! - `blue`
//! - `green`
//! - `yellow`
Expand Down
2 changes: 1 addition & 1 deletion crates/torin/src/values/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit de6d87c

Please sign in to comment.