fix: rust-doc warnings
This commit is contained in:
parent
ef1746cb85
commit
aa72076306
|
@ -62,7 +62,7 @@ jobs:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy, rust-docs
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
|
@ -72,6 +72,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: --workspace --all-targets --all-features -- -D warnings
|
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:
|
audit:
|
||||||
runs-on: ubuntu-latest
|
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 chrono::{DateTime, Utc};
|
||||||
use instant_xml::FromXml;
|
use instant_xml::FromXml;
|
||||||
|
|
|
@ -137,7 +137,7 @@ impl<'a> DsDataType<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// DigestAlgorithm identifies the algorithm used to construct the digest
|
/// 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)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
||||||
// Other(u8) could clash with one of the other variants. They have to
|
// 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
|
/// 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)]
|
#[derive(Clone, Copy, Debug)]
|
||||||
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
// XXX Do NOT derive PartialEq, Hash or Ord because the variant
|
||||||
// Other(u8) could clash with one of the other variants. They have to
|
// Other(u8) could clash with one of the other variants. They have to
|
||||||
|
|
Loading…
Reference in New Issue