aboutsummaryrefslogtreecommitdiff
path: root/core/encoding/json
diff options
context:
space:
mode:
authorIkko Eltociear Ashimine <eltociear@gmail.com>2023-04-27 00:03:36 +0900
committerGitHub <noreply@github.com>2023-04-27 00:03:36 +0900
commit47be46ae605e482fa7f0344b7470572923c5c034 (patch)
treee9165c521773e18665b8df951ad2c178380ed433 /core/encoding/json
parent623d78952964273938c91c487ea39e381f2e4469 (diff)
Fix typo in marshal.odin
seperation -> separation
Diffstat (limited to 'core/encoding/json')
-rw-r--r--core/encoding/json/marshal.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/json/marshal.odin b/core/encoding/json/marshal.odin
index f5914bc07..4cf9264c5 100644
--- a/core/encoding/json/marshal.odin
+++ b/core/encoding/json/marshal.odin
@@ -441,7 +441,7 @@ opt_write_start :: proc(w: io.Writer, opt: ^Marshal_Options, c: byte) -> (err: i
return
}
-// insert comma seperation and write indentations
+// insert comma separation and write indentations
opt_write_iteration :: proc(w: io.Writer, opt: ^Marshal_Options, iteration: int) -> (err: io.Error) {
switch opt.spec {
case .JSON, .JSON5:
@@ -461,7 +461,7 @@ opt_write_iteration :: proc(w: io.Writer, opt: ^Marshal_Options, iteration: int)
if opt.pretty {
io.write_byte(w, '\n') or_return
} else {
- // comma seperation necessary for non pretty output!
+ // comma separation necessary for non pretty output!
io.write_string(w, ", ") or_return
}
}