Skip to content

Commit

Permalink
std/encoding/json: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Nov 26, 2024
1 parent d211c96 commit 0becd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/encoding/json/encode.jule
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ fn Encode[T](t: T)!: []byte {
ret encoder.buf.bytes()
}

// Same as Encode[T] function but enables identation.
// Same as Encode[T] function but enables indentation.
fn EncodeIndent[T](t: T, indent: str)!: []byte {
mut encoder := encoder()
encoder.indent = len(indent)
Expand Down

0 comments on commit 0becd75

Please sign in to comment.