mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Fix error in comment
This commit is contained in:
parent
ff596f5e75
commit
d4c1ac4afa
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ pub const RocStr = extern struct {
|
|||
const length = self.len();
|
||||
const longest_small_str = @sizeOf(RocStr) - 1;
|
||||
|
||||
// NOTE: We want to compare length here, *NOT* check for is_small_str!
|
||||
// NOTE: We want to compare length here, *NOT* check for isSmallStr!
|
||||
// This is because we explicitly want the empty string to be handled in
|
||||
// this branch, even though the empty string is not a small string.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue