cargo clippy

This commit is contained in:
2026-02-16 21:37:56 +08:00
parent 279ac11c0e
commit 08e09ab84c
5 changed files with 6 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ pub async fn update_doll(id: String, dto: UpdateDollDto) -> Result<DollDto, Stri
#[tauri::command]
pub async fn delete_doll(id: String) -> Result<(), String> {
let result = DollsRemote::new()
DollsRemote::new()
.delete_doll(&id)
.await
.map_err(|e| e.to_string())?;
@@ -69,7 +69,7 @@ pub async fn delete_doll(id: String) -> Result<(), String> {
is_active.then_some(&[AppDataRefreshScope::User, AppDataRefreshScope::Friends]),
).await;
Ok(result)
Ok(())
}
#[tauri::command]