Skip to content

Commit ff070fb

Browse files
authored
refact(core): make "string.at()" public
1 parent 89a3aad commit ff070fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/src/string.c.ri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public struct string < Stringable, Hashable, Throwable {
6060
return Self(res, bytes.len);
6161
}
6262

63-
func at(self, idx: uint) -> uint8 {
63+
public func at(self, idx: uint) -> uint8 {
6464
if idx >= self.len {
6565
process_panic("string index out of range (index: {}, len: {})", idx, self.len);
6666
}

0 commit comments

Comments
 (0)