feat: stdlib
implementation
#1012
Annotations
2 errors and 1 warning
src/render/resolved_dependencies.rs#L587
[clippy] reported by reviewdog 🐶
error: unneeded `return` statement
--> src/render/resolved_dependencies.rs:587:21
|
587 | return Ok(SourceDependency { spec: "foo".parse().unwrap() }.into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
587 - return Ok(SourceDependency { spec: "foo".parse().unwrap() }.into());
587 + Ok(SourceDependency { spec: "foo".parse().unwrap() }.into())
|
Raw Output:
src/render/resolved_dependencies.rs:587:21:e:error: unneeded `return` statement
--> src/render/resolved_dependencies.rs:587:21
|
587 | return Ok(SourceDependency { spec: "foo".parse().unwrap() }.into());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
587 - return Ok(SourceDependency { spec: "foo".parse().unwrap() }.into());
587 + Ok(SourceDependency { spec: "foo".parse().unwrap() }.into())
|
__END__
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading