Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

feat: implement postman collections importation #211

feat: implement postman collections importation

feat: implement postman collections importation #211

GitHub Actions / clippy succeeded Mar 27, 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.77.0 (aedd173a2 2024-03-17)
  • cargo 1.77.0 (3fe68eabf 2024-02-29)
  • clippy 0.1.77 (aedd173 2024-03-17)

Annotations

Check warning on line 155 in src/screens/screen.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type

warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
   --> src/screens/screen.rs:155:41
    |
155 |                 .map(|i| ListItem::new(i.clone()))
    |                                         ^^^^^^^^
    |
    = note: `#[warn(suspicious_double_ref_op)]` on by default

Check warning on line 28 in src/screens/input/input.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `format!`

warning: useless use of `format!`
  --> src/screens/input/input.rs:28:26
   |
28 |             let fmtstr = format!("Enter a URL for your request and press Enter");
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Enter a URL for your request and press Enter".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

Check warning on line 1 in src/screens/input/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

module has the same name as its containing module

warning: module has the same name as its containing module
 --> src/screens/input/mod.rs:1:1
  |
1 | pub mod input;
  | ^^^^^^^^^^^^^^
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
  = note: `#[warn(clippy::module_inception)]` on by default