mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Empty string should always be all 0s
This commit is contained in:
parent
e0c97c9981
commit
4f765bae11
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const RocStr = struct {
|
|||
pub fn empty() RocStr {
|
||||
return RocStr {
|
||||
.str_len = 0,
|
||||
.str_bytes_ptrs = undefined
|
||||
.str_bytes_ptrs = 0
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue