fix: restore type

This commit is contained in:
2023-06-17 15:39:22 +02:00
parent 5b267f6d77
commit 17ba896b24

View File

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