diff options
| author | gingerBill <bill@gingerbill.org> | 2020-11-12 14:20:33 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-11-12 14:20:33 +0000 |
| commit | fa284f9a5a6d68d2887b759df324d98b33f41b9c (patch) | |
| tree | 181b7ebda2ecccd1ec5cc4afe4d142b5ba0fa117 /core/strings | |
| parent | 78b6948ff2e5fed0ef3e279b23686d1ac6c4d797 (diff) | |
Fix import paths
Diffstat (limited to 'core/strings')
| -rw-r--r-- | core/strings/conversion.odin | 3 | ||||
| -rw-r--r-- | core/strings/strings.odin | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/strings/conversion.odin b/core/strings/conversion.odin index 44f501246..674fd9206 100644 --- a/core/strings/conversion.odin +++ b/core/strings/conversion.odin @@ -1,5 +1,8 @@ package strings +import "core:unicode" +import "core:unicode/utf8" + to_valid_utf8 :: proc(s, replacement: string, allocator := context.allocator) -> string { if len(s) == 0 { return ""; diff --git a/core/strings/strings.odin b/core/strings/strings.odin index 47620ed54..93f8fdc69 100644 --- a/core/strings/strings.odin +++ b/core/strings/strings.odin @@ -1,7 +1,6 @@ package strings import "core:mem" -import "core:unicode" import "core:unicode/utf8" clone :: proc(s: string, allocator := context.allocator, loc := #caller_location) -> string { |