Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panicking in spawned Rayon tasks will abort the process by default. #2409

Merged
merged 1 commit into from
Jun 4, 2024

Panicking in spawned Rayon tasks will abort the process by default.

ecc67f3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Panicking in spawned Rayon tasks will abort the process by default. #2409

Panicking in spawned Rayon tasks will abort the process by default.
ecc67f3
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded May 23, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 640 in src/schema/document/default_document.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> src/schema/document/default_document.rs:640:9
    |
640 |         return Some(value);
    |         ^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
    |
640 -         return Some(value);
640 +         Some(value)
    |

Check warning on line 606 in src/schema/document/default_document.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

warning: unneeded `return` statement
   --> src/schema/document/default_document.rs:606:9
    |
606 |         return Some((key, value));
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
    = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
    |
606 -         return Some((key, value));
606 +         Some((key, value))
    |

Check warning on line 294 in src/indexer/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `format!`

warning: useless use of `format!`
   --> src/indexer/mod.rs:294:14
    |
294 |             (format!("{field_name_out_internal}"), Type::Str),
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `field_name_out_internal.to_string()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
    = note: `#[warn(clippy::useless_format)]` on by default