1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-08-01 21:17:45 +00:00

feat: remove whitespace around dynamic

This commit is contained in:
Kevin Amado 2022-02-01 19:15:41 -05:00
parent 9debef2ad0
commit 863976c10f
No known key found for this signature in database
GPG key ID: FFF341057F503148
3 changed files with 7 additions and 11 deletions

View file

@ -21,9 +21,7 @@ pub fn rule(
steps.push_back(crate::builder::Step::NewLine); steps.push_back(crate::builder::Step::NewLine);
steps.push_back(crate::builder::Step::Pad); steps.push_back(crate::builder::Step::Pad);
} }
crate::config::Layout::Wide => { crate::config::Layout::Wide => {}
steps.push_back(crate::builder::Step::Whitespace);
}
} }
// /**/ // /**/
@ -59,9 +57,7 @@ pub fn rule(
steps.push_back(crate::builder::Step::NewLine); steps.push_back(crate::builder::Step::NewLine);
steps.push_back(crate::builder::Step::Pad); steps.push_back(crate::builder::Step::Pad);
} }
crate::config::Layout::Wide => { 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));