pages build and deployment #53
pages-build-deployment
on: dynamic
build
8s
report-build-status
3s
deploy
10s
Annotations
4 warnings
match can be simplified with `.unwrap_or_default()`:
trustchain-ion/src/commitment.rs#L470
warning: match can be simplified with `.unwrap_or_default()`
--> trustchain-ion/src/commitment.rs:470:25
|
470 | let endpoints = match did_doc.get_endpoints() {
| _________________________^
471 | | Some(x) => x,
472 | | None => vec![],
473 | | };
| |_________^ help: replace it with: `did_doc.get_endpoints().unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
|
match can be simplified with `.unwrap_or_default()`:
trustchain-ion/src/commitment.rs#L466
warning: match can be simplified with `.unwrap_or_default()`
--> trustchain-ion/src/commitment.rs:466:20
|
466 | let keys = match did_doc.get_keys() {
| ____________________^
467 | | Some(x) => x,
468 | | None => vec![],
469 | | };
| |_________^ help: replace it with: `did_doc.get_keys().unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
= note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
|
use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead:
trustchain-ion/src/utils.rs#L334
warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
--> trustchain-ion/src/utils.rs:334:14
|
334 | datetime.timestamp()
| ^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
assigning the result of `ToOwned::to_owned()` may be inefficient:
trustchain-core/src/graph.rs#L65
warning: assigning the result of `ToOwned::to_owned()` may be inefficient
--> trustchain-core/src/graph.rs:65:13
|
65 | did = ddid.to_owned();
| ^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `ddid.clone_into(&mut did)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `#[warn(clippy::assigning_clones)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
Expired
|
1.42 MB |
|