Instead of something like: ```Rust formatted_code.push_str("}\n"); ``` we should do: ```Rust use sway_parse::token::Delimiter; formatted_code.push_str(&format!("{}\n", Delimiter::Brace.as_close_char()); ``` As seen in #2061