mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Update a comment
This commit is contained in:
parent
66bdb210ed
commit
d11f42743c
1 changed files with 1 additions and 1 deletions
|
@ -197,8 +197,8 @@ pub const RocStr = extern struct {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: returns false for empty string!
|
||||||
pub fn isSmallStr(self: RocStr) bool {
|
pub fn isSmallStr(self: RocStr) bool {
|
||||||
// NOTE: returns False for empty string!
|
|
||||||
return @bitCast(isize, self.str_len) < 0;
|
return @bitCast(isize, self.str_len) < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue