From 4e3c57cc7ce297f102ae6bff5d7af0cbc5aed1fa Mon Sep 17 00:00:00 2001 From: Connor Kuehl Date: Mon, 7 May 2018 12:14:34 -0700 Subject: [PATCH] Rename and add comment to the match block. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3e46e1c8..bcd14c57 100644 --- a/src/main.rs +++ b/src/main.rs @@ -571,8 +571,8 @@ fn run() -> Result<()> { let longest = match languages.iter() .map(|s| s.name.len()) .max() { - Some(longlang) => longlang, - None => 32, + Some(length) => length, + None => 32, // Fallback width if they have no language definitions. }; for lang in languages {