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

fix: escape colons in term query (#159) #173

Merged
merged 2 commits into from
Jul 11, 2024

wip

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

fix: escape colons in term query (#159) #173

wip
3092586
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jul 11, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 298 in src/server/run/hpo_terms.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

single-character string constant used as pattern

warning: single-character string constant used as pattern
   --> src/server/run/hpo_terms.rs:298:37
    |
298 |         let name = if name.contains(":") {
    |                                     ^^^ help: consider using a `char`: `':'`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
    = note: `#[warn(clippy::single_char_pattern)]` on by default