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<()> {
|
||||
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(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue