From a481e8230be2bee019e62a6c11fde1dbe4d5bdc9 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 30 May 2021 18:31:07 -0500 Subject: [PATCH] refactor/hashsum ~ polish spelling (comments, names, and exceptions) --- src/uu/hashsum/src/hashsum.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/hashsum/src/hashsum.rs b/src/uu/hashsum/src/hashsum.rs index b1ba3c217..b39b5788c 100644 --- a/src/uu/hashsum/src/hashsum.rs +++ b/src/uu/hashsum/src/hashsum.rs @@ -370,7 +370,7 @@ pub fn uumain(mut args: impl uucore::Args) -> i32 { ); if !is_custom_binary(&binary_name) { - let algos = &[ + let algorithms = &[ ("md5", "work with MD5"), ("sha1", "work with SHA1"), ("sha224", "work with SHA224"), @@ -393,7 +393,7 @@ pub fn uumain(mut args: impl uucore::Args) -> i32 { ("b2sum", "work with BLAKE2"), ]; - for (name, desc) in algos { + for (name, desc) in algorithms { app = app.arg(Arg::with_name(name).long(name).help(desc)); } }