style(redis): 修正 Rust 格式检查

This commit is contained in:
Bacon2994
2026-05-08 10:11:44 +08:00
parent 0fb6aebd59
commit b669efb5ff
2 changed files with 8 additions and 15 deletions
+3 -9
View File
@@ -146,8 +146,8 @@ pub async fn hash_set(
&req.field,
value,
)
.await
.map_err(AppError)?;
.await
.map_err(AppError)?;
Ok(Json(()))
}
@@ -197,13 +197,7 @@ pub async fn set_remove(
State(state): State<Arc<WebState>>,
Json(req): Json<RedisSetRequest>,
) -> Result<Json<()>, AppError> {
dbx_core::redis_ops::redis_set_remove_in_db_core(
&state.app,
&req.connection_id,
req.db,
&req.key_raw,
&req.member,
)
dbx_core::redis_ops::redis_set_remove_in_db_core(&state.app, &req.connection_id, req.db, &req.key_raw, &req.member)
.await
.map_err(AppError)?;
Ok(Json(()))