commit 2e4937b69574bb8db7cc800b7dba0a9b0f0507aa (tree)
parent 43a09f7efcc34567f119ca315ceba5a7a7e09956
Author: purringChaos <kitteh@kitteh.pw>
Date: Thu, 10 Jun 2021 18:20:18 +0100
Correct a comment.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
@@ -957,7 +957,7 @@ pub fn readElfDebugInfo(allocator: *mem.Allocator, elf_file: File) !ModuleDebugI
}
/// TODO resources https://github.com/ziglang/zig/issues/4353
-/// This takes ownership of coff_file: users of this function should not close
+/// This takes ownership of macho_file: users of this function should not close
/// it themselves, even on error.
/// TODO it's weird to take ownership even on error, rework this code.
fn readMachODebugInfo(allocator: *mem.Allocator, macho_file: File) !ModuleDebugInfo {