actually use call fix
This commit is contained in:
parent
480cf472e5
commit
8855743324
1 changed files with 5 additions and 7 deletions
12
src/main.rs
12
src/main.rs
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue