From 94e30a756edc4c2182168dabd97d481b8aec0ff2 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 30 Apr 2023 18:02:08 +0100 Subject: std: fix a bunch of typos The majority of these are in comments, some in doc comments which might affect the generated documentation, and a few in parameter names - nothing that should be breaking, however. --- lib/std/valgrind/memcheck.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/std/valgrind') diff --git a/lib/std/valgrind/memcheck.zig b/lib/std/valgrind/memcheck.zig index 489abac2f6..25081510cd 100644 --- a/lib/std/valgrind/memcheck.zig +++ b/lib/std/valgrind/memcheck.zig @@ -77,7 +77,7 @@ pub fn discard(blkindex: usize) bool { } /// Check that memory at qzz.ptr is addressable for qzz.len bytes. -/// If suitable addressibility is not established, Valgrind prints an +/// If suitable addressability is not established, Valgrind prints an /// error message and returns the address of the first offending byte. /// Otherwise it returns zero. pub fn checkMemIsAddressable(qzz: []u8) usize { @@ -85,7 +85,7 @@ pub fn checkMemIsAddressable(qzz: []u8) usize { } /// Check that memory at qzz.ptr is addressable and defined for -/// qzz.len bytes. If suitable addressibility and definedness are not +/// qzz.len bytes. If suitable addressability and definedness are not /// established, Valgrind prints an error message and returns the /// address of the first offending byte. Otherwise it returns zero. pub fn checkMemIsDefined(qzz: []u8) usize { -- cgit v1.2.3