Update a comment

This commit is contained in:
Richard Feldman 2021-06-21 19:03:55 -04:00
parent 66bdb210ed
commit d11f42743c

View file

@ -197,8 +197,8 @@ pub const RocStr = extern struct {
return result;
}
// NOTE: returns false for empty string!
pub fn isSmallStr(self: RocStr) bool {
// NOTE: returns False for empty string!
return @bitCast(isize, self.str_len) < 0;
}