From a876cda572254f56802d228572cf6d865dcee81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AF=9B=E6=AF=9B?= Date: Mon, 25 Mar 2024 21:51:51 -0700 Subject: [PATCH] doc: fix a typo in elf/section_header --- 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;