Skip to content

Commit

Permalink
Fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jan 19, 2024
1 parent 3ed24fa commit 96384f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ impl User {
}

pub(crate) fn get_default_callsign(&self) -> Option<&Callsign> {
self.callsigns.get(0)
self.callsigns.first()
}
}

0 comments on commit 96384f3

Please sign in to comment.