summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRinHizakura <s921975628@gmail.com>2023-04-24 23:10:25 +0800
committerRinHizakura <s921975628@gmail.com>2023-04-24 23:10:25 +0800
commitd703cdfd7834e0d6ed1f90c957c03c555ea11efa (patch)
tree57678cb8a3eba0648b434049798a7ba18124e717 /src
parent43f8b92502164de61519e1ee505000fdea965027 (diff)
Fix comment error and grammarly
Diffstat (limited to 'src')
-rw-r--r--src/bin/hexyl.rs2
-rw-r--r--src/lib.rs2
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,
}