diff options
| author | Linus Groh <mail@linusgroh.de> | 2023-04-30 18:02:08 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-30 18:16:04 -0700 |
| commit | 94e30a756edc4c2182168dabd97d481b8aec0ff2 (patch) | |
| tree | 50d4273d99ddd7a442d62b615cf9dc6128e71fef /lib/std/packed_int_array.zig | |
| parent | ec6ffaa1e47388a59035277dafbe3d9999a80fca (diff) | |
| download | zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.tar.gz zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.zip | |
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.
Diffstat (limited to 'lib/std/packed_int_array.zig')
| -rw-r--r-- | lib/std/packed_int_array.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/packed_int_array.zig b/lib/std/packed_int_array.zig index 8004d223f7..10d8af0575 100644 --- a/lib/std/packed_int_array.zig +++ b/lib/std/packed_int_array.zig @@ -33,7 +33,7 @@ pub fn PackedIntIo(comptime Int: type, comptime endian: Endian) type { // In the worst case, this is the number of bytes we need to touch // to read or write a value, as bits. To calculate for int_bits > 1, // set aside 2 bits to touch the first and last bytes, then divide - // by 8 to see how many bytes can be filled up inbetween. + // by 8 to see how many bytes can be filled up in between. const max_io_bits = switch (int_bits) { 0 => 0, 1 => 8, @@ -298,7 +298,7 @@ pub fn PackedIntSliceEndian(comptime Int: type, comptime endian: Endian) type { } /// Initialize a packed slice using the memory at `bytes`, with `int_count` - /// elements. `bytes` must be large enough to accomodate the requested + /// elements. `bytes` must be large enough to accommodate the requested /// count. pub fn init(bytes: []u8, int_count: usize) Self { debug.assert(bytes.len >= bytesRequired(int_count)); |
