perf: cache mappers, avoid allocations, codons are arrays #172
GitHub Actions / clippy
succeeded
Jun 10, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 497 in src/parser/ds.rs
github-actions / clippy
use of a fallible conversion when an infallible one could be used
warning: use of a fallible conversion when an infallible one could be used
--> src/parser/ds.rs:497:18
|
497 | .try_into()
| ^^^^^^^^ help: use: `into`
|
= note: converting `RnaInterval` to `Range<i32>` cannot fail
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
Check warning on line 490 in src/parser/ds.rs
github-actions / clippy
use of a fallible conversion when an infallible one could be used
warning: use of a fallible conversion when an infallible one could be used
--> src/parser/ds.rs:490:18
|
490 | .try_into()
| ^^^^^^^^ help: use: `into`
|
= note: converting `TxInterval` to `Range<i32>` cannot fail
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
Loading