Remove unnecessary doc comment from PeekFormat::format

This commit is contained in:
pjht 2022-10-12 12:41:40 -05:00 committed by GitHub
parent 7505d172f2
commit a43aff7d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()),