Skip to content

Bug fixes

Bug fixes #739

GitHub Actions / clippy succeeded Aug 2, 2023 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.71.0 (8ede3aae2 2023-07-12)
  • cargo 1.71.0 (cfd3bbd8f 2023-06-08)
  • clippy 0.1.71 (8ede3aa 2023-07-12)

Annotations

Check warning on line 1037 in theseus/src/api/profile/mod.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
    --> theseus/src/api/profile/mod.rs:1037:19
     |
1037 |     input.replace(r"/", "_")
     |                   ^^^^ help: try using a `char` instead: `'/'`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern

Check warning on line 1038 in theseus/src/api/profile/mod.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
    --> theseus/src/api/profile/mod.rs:1038:14
     |
1038 |     .replace(r"\", "_")
     |              ^^^^ help: try using a `char` instead: `'\\'`
     |
     = 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