We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfc595 commit 974bd91Copy full SHA for 974bd91
src/app/sub.rs
@@ -160,8 +160,7 @@ where
160
if !only_one_arg {
161
*data_tree.name_mut() = OsStringDisplay::os_string_from("(total)");
162
if let Some(map) = &mut leaf_color_map {
163
- let total = OsString::from("(total)");
164
- let empty = OsString::from("");
+ // NOTE: cannot use for-in because we are modifying the keys
165
*map = map
166
.drain()
167
.map(|(mut key, color)| {
0 commit comments