mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +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 {
|
pub fn empty() RocStr {
|
||||||
return RocStr {
|
return RocStr {
|
||||||
.str_len = 0,
|
.str_len = 0,
|
||||||
.str_bytes_ptrs = undefined
|
.str_bytes_ptrs = 0
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue