Git rid of MigrationFlags constructor

This commit is contained in:
Anthony Bullard 2024-12-28 10:33:20 -06:00
parent af39ce57fb
commit 389cc940e0
No known key found for this signature in database
9 changed files with 57 additions and 22 deletions

View file

@ -101,7 +101,10 @@ pub enum Output<'a> {
impl<'a> Output<'a> {
pub fn format(&self) -> InputOwned {
let arena = Bump::new();
let flags = MigrationFlags::new(false, false);
let flags = MigrationFlags {
snakify: false,
parens_and_commas: false,
};
let mut buf = Buf::new_in(&arena, flags);
match self {
Output::Header(header) => {