fix: restore type
This commit is contained in:
parent
5b267f6d77
commit
17ba896b24
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user