Przeglądaj źródła

Merge branch 'master' of https://github.com/odin-lang/Odin

gingerBill 1 rok temu
rodzic
commit
1d7f7a55d2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/bytes/bytes.odin

+ 1 - 1
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