mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Git rid of MigrationFlags constructor
This commit is contained in:
parent
af39ce57fb
commit
389cc940e0
9 changed files with 57 additions and 22 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue