docs: backtick parameter references in API comments

This commit is contained in:
2026-10-07 23:28:26 +02:00
parent 8352cc1ab0
commit 57e544f255
11 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ raw_alloc proc(
}
#! resize caller-owned storage with its original allocator and alignment.
#! on allocation failure with nonzero new_size, original storage remains caller-owned; release the result with raw_free.
#! on allocation failure with nonzero `new_size`, original storage remains caller-owned; release the result with raw_free.
raw_realloc proc(
allocator Allocator,
memory ?*mut u8,
@@ -54,7 +54,7 @@ eql proc($T type, left, right []T) bool {
}
#! assign `value` to each slice element, preserving its typed value rather than repeating a byte.
#! an empty destination is a no-op.
#! an empty `destination` is a no-op.
set proc($T type, destination []mut T, value T) void {
for (0..destination.len) |i| destination[i] = value
}