chore(fmt): reformatage cargo fmt résiduel
Deux reformatages sans changement de comportement (device.rs, web-server/lib.rs), laissés de côté hors périmètre au fil de plusieurs tickets précédents. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@ -464,9 +464,7 @@ mod tests {
|
||||
*store.saves.lock().unwrap() = 0;
|
||||
let use_case = TouchDevice::new(
|
||||
Arc::clone(&store) as Arc<dyn DeviceSessionStore>,
|
||||
Arc::new(FixedClock(
|
||||
(1000 + LAST_SEEN_TOUCH_THROTTLE_MS - 1) as i64,
|
||||
)),
|
||||
Arc::new(FixedClock((1000 + LAST_SEEN_TOUCH_THROTTLE_MS - 1) as i64)),
|
||||
);
|
||||
|
||||
let output = use_case
|
||||
|
||||
@ -584,8 +584,7 @@ impl ServerState {
|
||||
|
||||
async fn authenticate_session(&self, token: &str) -> Option<AuthenticatedDevice> {
|
||||
let token_bytes = decode_session_token(token).ok()?;
|
||||
self
|
||||
.app
|
||||
self.app
|
||||
.authenticate_session
|
||||
.execute(AuthenticateSessionInput { token_bytes })
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user