feature: set up scrape worker with endpoint to crawl #3453
Annotations
3 errors
Run clechasseur/rs-clippy-check@v3:
src/operators/crawl_operator.rs#L267
error: this manual char comparison can be written more succinctly
--> src/operators/crawl_operator.rs:267:18
|
267 | .replace(|c| c == '-', "");
| ^^^^^^^^^^^^ help: consider using a `char`: `'-'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
= note: `-D clippy::manual-pattern-char-comparison` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_pattern_char_comparison)]`
|
Run clechasseur/rs-clippy-check@v3:
src/operators/crawl_operator.rs#L281
error: this manual char comparison can be written more succinctly
--> src/operators/crawl_operator.rs:281:48
|
281 | chunk_html = chunk_html.trim().replace(|c| c == '-', "");
| ^^^^^^^^^^^^ help: consider using a `char`: `'-'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
Loading