mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Correct minor spelling mistakes
This commit is contained in:
parent
f37853f688
commit
f6d055dc62
39 changed files with 63 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue