Skip to content

Commit

Permalink
Refactor escape_to function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhang committed Mar 22, 2024
1 parent 1e9f726 commit 53cb942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage/coverage.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn Output::output(self : Buffer, content : String) -> Unit {
///
/// This method only escapes characters below 0x20 and the following characters:
/// `"`, `'`, `\`.
pub fn escape_to(s : String, buf : Buffer) -> Unit {
fn escape_to(s : String, buf : Buffer) -> Unit {
fn write_escaped_ch(ch : Char) -> Unit {
buf.write_char('\\')
buf.write_char(ch)
Expand Down

0 comments on commit 53cb942

Please sign in to comment.