Commit d4f710791f

mlugg <mlugg@mlugg.co.uk>
2025-09-05 16:18:18
tweaks
1 parent 67fa566
Changed files (2)
lib
std
debug
lib/std/debug/SelfInfo/ElfModule.zig
@@ -178,7 +178,7 @@ fn loadUnwindInfo(module: *const ElfModule, gpa: Allocator, di: *DebugInfo) Erro
                 break :unwinds buf[0..2];
             }
             break :unwinds buf[0..1];
-        } else if (opt_eh_frame.*) |eh_frame| {
+        } else if (opt_eh_frame.*) |*eh_frame| {
             buf[0] = .initSection(.eh_frame, eh_frame.vaddr, eh_frame.bytes);
             break :unwinds buf[0..1];
         }
lib/std/debug/Dwarf.zig
@@ -56,7 +56,7 @@ pub const Range = struct {
 
 pub const Section = struct {
     data: []const u8,
-    // If `data` is owned by this Dwarf.
+    /// If `data` is owned by this Dwarf.
     owned: bool,
 
     pub const Id = enum {