Add Dockerfile #701
GitHub Actions / clippy
succeeded
Apr 18, 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.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check warning on line 266 in src/lib.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/lib.rs:266:44
|
266 | let stub = durable_object.id_from_name(&doc_id)?.get_stub()?;
| ^^^^^^^ help: change this to: `doc_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check warning on line 122 in src/lib.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/lib.rs:122:65
|
122 | ResponseBody::Body(body) => String::from_utf8_lossy(&body).to_string(),
| ^^^^^ help: change this to: `body`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Check warning on line 81 in src/durable_object.rs
github-actions / clippy
useless conversion to the same type: `worker::Env`
warning: useless conversion to the same type: `worker::Env`
--> src/durable_object.rs:81:24
|
81 | let env: Env = self.env.clone().into();
| ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `self.env.clone()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
Loading