style(daemon): rustfmt collapse get_pending_status match arm
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -261,7 +261,10 @@ impl AppState {
|
||||
|
||||
pub async fn get_pending_status(&self, user: &str) -> Result<PendingStatus, StateError> {
|
||||
match self.pending.get(user)? {
|
||||
Some(flag) => Ok(PendingStatus { present: true, flag }),
|
||||
Some(flag) => Ok(PendingStatus {
|
||||
present: true,
|
||||
flag,
|
||||
}),
|
||||
None => Ok(PendingStatus {
|
||||
present: false,
|
||||
flag: PendingFlag::default(),
|
||||
|
||||
Reference in New Issue
Block a user