From 05e27fa92d08e7cb2643c479db3717e722af01c7 Mon Sep 17 00:00:00 2001 From: FourteenBrush <74827262+FourteenBrush@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:37:06 +0100 Subject: Fix typo in bytes.scrub --- core/bytes/bytes.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/bytes/bytes.odin') diff --git a/core/bytes/bytes.odin b/core/bytes/bytes.odin index d39f01b06..208949fd8 100644 --- a/core/bytes/bytes.odin +++ b/core/bytes/bytes.odin @@ -895,7 +895,7 @@ split_multi_iterator :: proc(s: ^[]byte, substrs: [][]byte, skip_empty := false) -// scrub scruvs invalid utf-8 characters and replaces them with the replacement string +// Scrubs invalid utf-8 characters and replaces them with the replacement string // Adjacent invalid bytes are only replaced once scrub :: proc(s: []byte, replacement: []byte, allocator := context.allocator) -> []byte { str := s -- cgit v1.2.3