From 3a561da38d42ba331eb67bdb7d86d4a3e9b74533 Mon Sep 17 00:00:00 2001 From: mlugg Date: Mon, 8 Sep 2025 14:31:45 +0100 Subject: std: doc comments and tweaks --- lib/std/debug/SelfInfo.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/std/debug') diff --git a/lib/std/debug/SelfInfo.zig b/lib/std/debug/SelfInfo.zig index f1832f4902..df5a9e7ad8 100644 --- a/lib/std/debug/SelfInfo.zig +++ b/lib/std/debug/SelfInfo.zig @@ -124,6 +124,7 @@ pub fn getModuleNameForAddress(self: *SelfInfo, gpa: Allocator, address: usize) /// ) SelfInfo.Error!usize; /// ``` const Module: type = Module: { + // Allow overriding the target-specific `SelfInfo` implementation by exposing `root.debug.Module`. if (@hasDecl(root, "debug") and @hasDecl(root.debug, "Module")) { break :Module root.debug.Module; } -- cgit v1.2.3