Fix error in comment

This commit is contained in:
Richard Feldman 2022-07-01 15:29:19 -04:00
parent ff596f5e75
commit d4c1ac4afa
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798

View file

@ -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.
//