mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
rename str.len to str.number_of_bytes
This commit is contained in:
parent
22d798b7c7
commit
82e87d04e3
5 changed files with 15 additions and 48 deletions
|
@ -206,7 +206,7 @@ const RocStr = extern struct {
|
|||
|
||||
// Str.numberOfBytes
|
||||
|
||||
pub fn strLen(string: RocStr) callconv(.C) u64 {
|
||||
pub fn strNumberOfBytes(string: RocStr) callconv(.C) u64 {
|
||||
return string.len();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue