Skip to content

Commit e61147b

Browse files
authored
Merge pull request #7143 from cakebaker/dircolors_move_use_to_top
dircolors: move `use` declaration to top
2 parents 05ada0d + 1b5e321 commit e61147b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/uu/dircolors/src/dircolors.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use clap::{crate_version, Arg, ArgAction, Command};
1515
use uucore::colors::{FILE_ATTRIBUTE_CODES, FILE_COLORS, FILE_TYPES, TERMS};
1616
use uucore::display::Quotable;
1717
use uucore::error::{UResult, USimpleError, UUsageError};
18-
use uucore::{help_about, help_section, help_usage};
18+
use uucore::{format_usage, help_about, help_section, help_usage, parse_glob};
1919

2020
mod options {
2121
pub const BOURNE_SHELL: &str = "bourne-shell";
@@ -358,7 +358,6 @@ enum ParseState {
358358
Pass,
359359
}
360360

361-
use uucore::{format_usage, parse_glob};
362361
fn parse<T>(user_input: T, fmt: &OutputFmt, fp: &str) -> Result<String, String>
363362
where
364363
T: IntoIterator,

0 commit comments

Comments
 (0)