actually use call fix

This commit is contained in:
Zynh0722 2024-02-25 19:12:35 -08:00
parent 480cf472e5
commit 8855743324

View file

@ -28,15 +28,13 @@ fn get_job_stats(lodestone_ids: &[usize]) -> anyhow::Result<Vec<Vec<JobStats>>>
}
fn main() -> anyhow::Result<()> {
let id = 29932586; // Binglesworth
let stats = get_job_stats(std::slice::from_ref(&id))?;
display_stats(id, &stats[0]);
let bingle_id = 29932586; // Binglesworth
let val_id = 44540671; // Dialus
let stats = get_job_stats(&[bingle_id, val_id][..])?;
display_stats(bingle_id, &stats[0]);
println!();
let id = 44540671; // Dialus
let stats = get_job_stats(std::slice::from_ref(&id))?;
display_stats(id, &stats[0]);
display_stats(val_id, &stats[1]);
Ok(())
}