fix: restore type

This commit is contained in:
0xMRTT 2023-06-17 15:39:22 +02:00
parent 5b267f6d77
commit 17ba896b24
Signed by: 0xMRTT
GPG Key ID: 910B287304120902
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ pub async fn ask(prompt: &str) -> Result<Vec<Delta>, Box<dyn std::error::Error>>
if line == "" {
continue;
}
let delta: = serde_json::from_str(&line).unwrap();
let delta: Delta = serde_json::from_str(&line).unwrap();
deltas.push(delta);
}