Checking llmrust v0.1.0 (D:\halowor\llmrust)
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent
--> src\providers\ollama.rs:452:30
|
452 | let method = parts.nth(0).unwrap_or("GET");
| ^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `parts.next()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#iter_nth_zero
= note: `#[warn(clippy::iter_nth_zero)]` on by default
warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()` is equivalent
--> src\providers\ollama.rs:453:28
|
453 | let path = parts.nth(0).unwrap_or("/");
| ^^^^^^^^^^^^ help: try calling `.next()` instead of `.nth(0)`: `parts.next()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#iter_nth_zero
warning: `llmrust` (lib test) generated 2 warnings (run `cargo clippy --fix --lib -p llmrust --tests` to apply 2 suggestions)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.90s