fix changelog version error #9
Annotations
3 errors and 2 warnings
you should consider adding a `Default` implementation for `Path<'a>`:
src/did.rs#L284
error: you should consider adding a `Default` implementation for `Path<'a>`
--> src/did.rs:284:5
|
284 | / pub const fn new() -> Self {
285 | | Self(Cow::Borrowed(""))
286 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
283 ~ impl<'a> Default for Path<'a> {
284 + fn default() -> Self {
285 + Self::new()
286 + }
287 + }
288 +
289 ~ impl<'a> Path<'a> {
|
|
the item `TryFrom` is imported redundantly:
src/did.rs#L6
error: the item `TryFrom` is imported redundantly
--> src/did.rs:6:5
|
6 | use core::convert::TryFrom;
| ^^^^^^^^^^^^^^^^^^^^^^
--> /rustc/5f2c7d2bfd46cad00352ab7cd66242077e2e518c/library/core/src/prelude/mod.rs:46:30
|
= note: the item `TryFrom` is already defined here
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
build
Clippy had exited with the 101 exit code
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|