From 243546ce967af5aaeeed99880a71d62809eafe97 Mon Sep 17 00:00:00 2001 From: snapdgn Date: Mon, 12 Sep 2022 12:19:56 +0530 Subject: [PATCH] fix: style/spelling --- src/uu/stat/src/stat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/stat/src/stat.rs b/src/uu/stat/src/stat.rs index b92ad764d..883bf66d2 100644 --- a/src/uu/stat/src/stat.rs +++ b/src/uu/stat/src/stat.rs @@ -74,8 +74,8 @@ fn print_adjusted( ) { let mut field_width = cmp::max(width, s.len()); if let Some(p) = prefix { - if let Some(needprefix) = need_prefix { - if needprefix { + if let Some(prefix_flag) = need_prefix { + if prefix_flag { field_width -= p.len(); } }