aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/builtin.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index 2c2bc92c96..69312df838 100644
--- a/lib/std/builtin.zig
+++ b/lib/std/builtin.zig
@@ -866,7 +866,7 @@ pub fn panicUnwrapError(st: ?*StackTrace, err: anyerror) noreturn {
pub fn panicOutOfBounds(index: usize, len: usize) noreturn {
@setCold(true);
- std.debug.panic("attempt to index out of bound: index {d}, len {d}", .{ index, len });
+ std.debug.panic("index out of bounds: index {d}, len {d}", .{ index, len });
}
pub noinline fn returnError(st: *StackTrace) void {