hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 635e5d0bbed73cd819675c6a9ad926bc5e03352e
parent 99cfa06b3e2a5eed6fe5188f7f85e79445131138
Author: Sebastian <sebastian@sebsite.pw>
Date:   Mon,  9 May 2022 18:39:08 -0400

types: fix internal docs of string type

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mtypes/classes.ha | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/types/classes.ha b/types/classes.ha @@ -22,12 +22,10 @@ export type string = struct { // UTF-8 encoded octets. data: nullable *[*]u8, - // The length capacity, in octets of UTF-8 data, not including the NUL - // terminator. + // The length capacity, in octets of UTF-8 data. length: size, - // The allocated capacity, in octets of UTF-8 data, not including the - // NUL terminator. + // The allocated capacity, in octets of UTF-8 data. capacity: size, };