From a43aff7d28bb31fd4574339fa9c18b873a7cd581 Mon Sep 17 00:00:00 2001 From: pjht Date: Wed, 12 Oct 2022 12:41:40 -0500 Subject: [PATCH] Remove unnecessary doc comment from PeekFormat::format --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index bea31d6..01f5330 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,8 +82,6 @@ enum PeekFormat { } impl PeekFormat { - /// Note: If the peek size was Byte or Word, the u8/u16 should be sign-extened to a u32 instaed - /// of directly cast. (u8/16 as i8/16 as i32 as u32) to allow Decimal to work. pub fn format(self, num: u32, size: PeekSize) -> String { match self { Self::Octal => format!("Oo{:0>width$o}", num, width = size.byte_count()),