Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <[email protected]>
  • Loading branch information
cuishuang committed May 9, 2024
1 parent de5fd6c commit 0ee3a82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion swayfmt/src/items/item_abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl CurlyBrace for ItemAbi {
line: &mut String,
formatter: &mut Formatter,
) -> Result<(), FormatterError> {
// If shape is becoming left-most alligned or - indent just have the default shape
// If shape is becoming left-most alligned or - indent just have the defualt shape
formatter.unindent();
write!(
line,
Expand Down
2 changes: 1 addition & 1 deletion swayfmt/src/items/item_fn/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl CurlyBrace for ItemFn {
line: &mut FormattedCode,
formatter: &mut Formatter,
) -> Result<(), FormatterError> {
// If shape is becoming left-most alligned or - indent just have the default shape
// If shape is becoming left-most alligned or - indent just have the defualt shape
formatter.unindent();
write!(
line,
Expand Down
2 changes: 1 addition & 1 deletion swayfmt/src/items/item_struct/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl CurlyBrace for ItemStruct {
line: &mut String,
formatter: &mut Formatter,
) -> Result<(), FormatterError> {
// If shape is becoming left-most alligned or - indent just have the default shape
// If shape is becoming left-most alligned or - indent just have the defualt shape
formatter.unindent();
write!(
line,
Expand Down

0 comments on commit 0ee3a82

Please sign in to comment.