feature: recognize domain specific words #3428
Annotations
4 errors
src/operators/typo_operator.rs#L614
error: use of `println!`
--> src/operators/typo_operator.rs:614:13
|
614 | println!("Found word in BK tree: {}", word);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_stdout
= note: requested on the command line with `-D clippy::print-stdout`
|
src/operators/typo_operator.rs#L622
error: use of `println!`
--> src/operators/typo_operator.rs:622:13
|
622 | println!("Quote words: {:?}", query.quote_words);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_stdout
|
src/operators/typo_operator.rs#L748
error: this `impl` can be derived
--> src/operators/typo_operator.rs:748:1
|
748 | / impl Default for CorrectedQuery {
749 | | fn default() -> Self {
750 | | Self {
751 | | query: None,
... |
754 | | }
755 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `-D clippy::derivable-impls` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::derivable_impls)]`
= help: remove the manual implementation...
help: ...and instead derive it
|
743 + #[derive(Default)]
744 | pub struct CorrectedQuery {
|
|
|
This job failed
Loading