Feat: small improvements + fixes + tests #300
ci.yaml
on: pull_request
stable / fmt
22s
stable / clippy
1m 45s
stable / test
4m 19s
stable / doc
2m 8s
Annotations
5 errors
the following explicit lifetimes could be elided: 'a:
rig-core/src/loaders/file.rs#L165
error: the following explicit lifetimes could be elided: 'a
--> rig-core/src/loaders/file.rs:165:6
|
165 | impl<'a> FileLoader<'a, Result<PathBuf, FileLoaderError>> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
165 - impl<'a> FileLoader<'a, Result<PathBuf, FileLoaderError>> {
165 + impl FileLoader<'_, Result<PathBuf, FileLoaderError>> {
|
|
the following explicit lifetimes could be elided: 'a:
rig-core/src/loaders/file.rs#L230
error: the following explicit lifetimes could be elided: 'a
--> rig-core/src/loaders/file.rs:230:6
|
230 | impl<'a, T> Iterator for IntoIter<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
230 - impl<'a, T> Iterator for IntoIter<'a, T> {
230 + impl<T> Iterator for IntoIter<'_, T> {
|
|
the following explicit lifetimes could be elided: 'a:
rig-core/src/loaders/pdf.rs#L338
error: the following explicit lifetimes could be elided: 'a
--> rig-core/src/loaders/pdf.rs:338:6
|
338 | impl<'a> PdfFileLoader<'a, Result<PathBuf, FileLoaderError>> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
338 - impl<'a> PdfFileLoader<'a, Result<PathBuf, FileLoaderError>> {
338 + impl PdfFileLoader<'_, Result<PathBuf, FileLoaderError>> {
|
|
the following explicit lifetimes could be elided: 'a:
rig-core/src/loaders/pdf.rs#L399
error: the following explicit lifetimes could be elided: 'a
--> rig-core/src/loaders/pdf.rs:399:6
|
399 | impl<'a, T> Iterator for IntoIter<'a, T> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
399 - impl<'a, T> Iterator for IntoIter<'a, T> {
399 + impl<T> Iterator for IntoIter<'_, T> {
|
|
stable / clippy
Clippy has exited with exit code 101
|