Skip to content

Commit c9cf60c

Browse files
committed
lscpu: remove underscore-prefix from var name
1 parent 9b8f231 commit c9cf60c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/uu/lscpu/src/lscpu.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ const USAGE: &str = help_usage!("lscpu.md");
1414

1515
#[uucore::main]
1616
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
17-
let _matches: clap::ArgMatches = uu_app().try_get_matches_from(args)?;
17+
let matches: clap::ArgMatches = uu_app().try_get_matches_from(args)?;
1818
let system = System::new_all();
19-
let hex = _matches.get_flag(options::HEX);
19+
let hex = matches.get_flag(options::HEX);
2020

2121
println!("Architecture: {}", get_architecture());
2222
if hex {

0 commit comments

Comments
 (0)