From d703cdfd7834e0d6ed1f90c957c03c555ea11efa Mon Sep 17 00:00:00 2001 From: RinHizakura Date: Mon, 24 Apr 2023 23:10:25 +0800 Subject: [PATCH] Fix comment error and grammarly --- src/bin/hexyl.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/hexyl.rs b/src/bin/hexyl.rs index 35e82f2..f48879e 100644 --- a/src/bin/hexyl.rs +++ b/src/bin/hexyl.rs @@ -209,7 +209,7 @@ fn run() -> Result<()> { .short('e') .action(ArgAction::SetTrue) .help( - "Print out the data in little endian format. Otherwise the data will be showed \ + "Print out the data in little endian format. Otherwise the data will be shown \ in big endian format by default.", ), ); diff --git a/src/lib.rs b/src/lib.rs index 1d74475..c9b6f99 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -267,7 +267,7 @@ pub struct Printer<'a, Writer: Write> { group_size: u8, /// The number of digits used to write the base. base_digits: u8, - /// Whether to print the bytes in little endian + /// Whether to show groups in little or big endian ordering. endianness: Endianness, }