Correct minor spelling mistakes

This commit is contained in:
Kevin Sjöberg 2021-11-06 15:29:08 +01:00
parent f37853f688
commit f6d055dc62
39 changed files with 63 additions and 63 deletions

View file

@ -264,7 +264,7 @@ pub const RocStr = extern struct {
}
// Returns (@sizeOf(RocStr) - 1) for small strings and the empty string.
// Returns 0 for refcounted stirngs and immortal strings.
// Returns 0 for refcounted strings and immortal strings.
// Returns the stored capacity value for all other strings.
pub fn capacity(self: RocStr) usize {
const length = self.len();