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> {
|
pub async fn get_pending_status(&self, user: &str) -> Result<PendingStatus, StateError> {
|
||||||
match self.pending.get(user)? {
|
match self.pending.get(user)? {
|
||||||
Some(flag) => Ok(PendingStatus { present: true, flag }),
|
Some(flag) => Ok(PendingStatus {
|
||||||
|
present: true,
|
||||||
|
flag,
|
||||||
|
}),
|
||||||
None => Ok(PendingStatus {
|
None => Ok(PendingStatus {
|
||||||
present: false,
|
present: false,
|
||||||
flag: PendingFlag::default(),
|
flag: PendingFlag::default(),
|
||||||
|
|||||||
Reference in New Issue
Block a user