Skip to content

Commit bcdb28e

Browse files
phantomptrclaude
andcommitted
style: cargo fmt after feature removal
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 23c9080 commit bcdb28e

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

engine/crates/ftx2-proto/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,6 @@ pub enum FrameType {
593593
/// Ack: `{"ok":bool,"err":".."}`.
594594
NotifSend = 240,
595595
NotifSendAck = 241,
596-
597596
// Frame numbers 184-187, 192-195, 200-239, and 242-245 were allocated
598597
// during v4 scaffolding for features that were never finished (they
599598
// returned "not implemented") or were SKIP in FEATURE-GAP-ANALYSIS.md

engine/crates/ps5upload-engine/src/lib.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4411,16 +4411,12 @@ async fn fan_curve_get_handler(
44114411
Query(q): Query<AddrQuery>,
44124412
) -> impl IntoResponse {
44134413
let addr = mgmt_addr_or_default(q.addr, &state.default_ps5_addr);
4414-
let r = tokio::task::spawn_blocking(move || {
4415-
ps5upload_core::fan_curve::fan_curve_get(&addr)
4416-
})
4417-
.await
4418-
.map_err(anyhow::Error::from)
4419-
.and_then(|r| r);
4414+
let r = tokio::task::spawn_blocking(move || ps5upload_core::fan_curve::fan_curve_get(&addr))
4415+
.await
4416+
.map_err(anyhow::Error::from)
4417+
.and_then(|r| r);
44204418
match r {
4421-
Ok(points) => {
4422-
(StatusCode::OK, Json(serde_json::json!({"points": points}))).into_response()
4423-
}
4419+
Ok(points) => (StatusCode::OK, Json(serde_json::json!({"points": points}))).into_response(),
44244420
Err(e) => json_err(StatusCode::BAD_GATEWAY, format!("{e:#}")).into_response(),
44254421
}
44264422
}

0 commit comments

Comments
 (0)