Rename strings.Builder procedures to be consistent with the rest of the core library
This commit is contained in:
1 parent
9e376fbda7
commit
c90b7c38f1
12 files changed
+106
-144
No files matched your search
@@ -519,7 +519,7 @@ join_adjacent_string_literals :: proc(cpp: ^Preprocessor, initial_tok: ^Token) {
|
||||
|
||||
|
||||
quote_string :: proc(s: string) -> []byte {
|
||||
b := strings.make_builder(0, len(s)+2)
|
||||
b := strings.builder_make(0, len(s)+2)
|
||||
io.write_quoted_string(strings.to_writer(&b), s, '"')
|
||||
return b.buf[:]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user