fix: rust-doc warnings
This commit is contained in:
parent
ef1746cb85
commit
aa72076306
|
@ -62,7 +62,7 @@ jobs:
|
|||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
components: rustfmt, clippy, rust-docs
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
|
@ -72,6 +72,12 @@ jobs:
|
|||
with:
|
||||
command: clippy
|
||||
args: --workspace --all-targets --all-features -- -D warnings
|
||||
- uses: actions-rs/cargo@v1
|
||||
env:
|
||||
RUSTDOCFLAGS: "-D warnings"
|
||||
with:
|
||||
command: doc
|
||||
args: --no-deps --all-features --document-private-items
|
||||
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//! https://www.verisign.com/assets/epp-sdk/verisign_epp-extension_rgp-poll_v00.html
|
||||
//! <https://www.verisign.com/assets/epp-sdk/verisign_epp-extension_rgp-poll_v00.html>
|
||||
|
||||
use chrono::{DateTime, Utc};
|
||||
use instant_xml::FromXml;
|
||||
|
|
|
@ -137,7 +137,7 @@ impl<'a> DsDataType<'a> {
|
|||
}
|
||||
|
||||
/// DigestAlgorithm identifies the algorithm used to construct the digest
|
||||
/// https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml
|
||||
/// <https://www.iana.org/assignments/ds-rr-types/ds-rr-types.xhtml>
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
||||
// Other(u8) could clash with one of the other variants. They have to
|
||||
|
@ -173,7 +173,7 @@ impl ToXml for DigestAlgorithm {
|
|||
}
|
||||
|
||||
/// Algorithm identifies the public key's cryptographic algorithm
|
||||
/// https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml#dns-sec-alg-numbers-1
|
||||
/// <https://www.iana.org/assignments/dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml#dns-sec-alg-numbers-1>
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
||||
// Other(u8) could clash with one of the other variants. They have to
|
||||
|
|
Loading…
Reference in New Issue