mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: more compact let in
This commit is contained in:
parent
f85392e639
commit
e081ba1b4e
1 changed files with 2 additions and 1 deletions
|
@ -95,12 +95,13 @@ pub fn rule(
|
|||
crate::config::Layout::Tall => {
|
||||
steps.push_back(crate::builder::Step::NewLine);
|
||||
steps.push_back(crate::builder::Step::Pad);
|
||||
steps.push_back(crate::builder::Step::FormatWider(child.element));
|
||||
}
|
||||
crate::config::Layout::Wide => {
|
||||
steps.push_back(crate::builder::Step::Whitespace);
|
||||
steps.push_back(crate::builder::Step::Format(child.element));
|
||||
}
|
||||
}
|
||||
steps.push_back(crate::builder::Step::Format(child.element));
|
||||
|
||||
steps
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue