Browse Source

Fix import paths

gingerBill 4 years ago
parent
commit
fa284f9a5a
2 changed files with 3 additions and 1 deletions
  1. 3 0
      core/strings/conversion.odin
  2. 0 1
      core/strings/strings.odin

+ 3 - 0
core/strings/conversion.odin

@@ -1,5 +1,8 @@
 package strings
 package strings
 
 
+import "core:unicode"
+import "core:unicode/utf8"
+
 to_valid_utf8 :: proc(s, replacement: string, allocator := context.allocator) -> string {
 to_valid_utf8 :: proc(s, replacement: string, allocator := context.allocator) -> string {
 	if len(s) == 0 {
 	if len(s) == 0 {
 		return "";
 		return "";

+ 0 - 1
core/strings/strings.odin

@@ -1,7 +1,6 @@
 package strings
 package strings
 
 
 import "core:mem"
 import "core:mem"
-import "core:unicode"
 import "core:unicode/utf8"
 import "core:unicode/utf8"
 
 
 clone :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> string {
 clone :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> string {