actually use call fix

main
Zynh0722 2024-02-25 19:12:35 -08:00
parent 480cf472e5
commit 8855743324
1 changed files with 5 additions and 7 deletions

View File

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