Skip to content

Commit

Permalink
Merge pull request uutils#6509 from lcheylus/openbsd-users
Browse files Browse the repository at this point in the history
users: fix lint error needless_borrows_for_generic_args on OpenBSD
  • Loading branch information
sylvestre committed Jun 29, 2024
2 parents dbeae9f + 4be9ed6 commit 2244adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uu/users/src/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
} else {
files[0]
};
let entries = parse_from_path(&filename).unwrap_or(Vec::new());
let entries = parse_from_path(filename).unwrap_or(Vec::new());
users = Vec::new();
for entry in entries {
if let UtmpEntry::UTMP {
Expand Down

0 comments on commit 2244adb

Please sign in to comment.