From 40d5816d4a09321d9a0f83ae53f1685bf77b4e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E6=AF=9B?= Date: Sun, 31 Mar 2024 17:39:10 -0700 Subject: [PATCH] doc: fix a typo in elf/section_header (#402) --- src/elf/section_header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elf/section_header.rs b/src/elf/section_header.rs index a81839eb..bc8f6e4d 100644 --- a/src/elf/section_header.rs +++ b/src/elf/section_header.rs @@ -406,7 +406,7 @@ if_alloc! { } impl SectionHeader { - /// Return the size of the underlying program header, given a `container` + /// Return the size of the underlying section header, given a `Ctx` #[inline] pub fn size(ctx: Ctx) -> usize { use scroll::ctx::SizeWith;