From 992bd0f81659d3b2184b7a951bfa74490261ff74 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Fri, 25 Aug 2023 10:22:12 -0400 Subject: [PATCH 1/2] x509: fix cargo doc warning --- src/x509.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x509.rs b/src/x509.rs index 37f35cb7..c6006a5d 100644 --- a/src/x509.rs +++ b/src/x509.rs @@ -87,7 +87,7 @@ pub(crate) fn remember_extension( pub(crate) enum DistributionPointName<'a> { /// The distribution point name is a relative distinguished name, relative to the CRL issuer. NameRelativeToCrlIssuer(untrusted::Input<'a>), - /// The distribution point name is a sequence of [GeneralNames]. + /// The distribution point name is a sequence of [GeneralName] items. FullName(DerIterator<'a, GeneralName<'a>>), } From 118e5cfd1c33a9cd8d4794d9730f0c57cef40689 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Fri, 25 Aug 2023 10:22:48 -0400 Subject: [PATCH 2/2] ci: check --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76e7fccf..b7246d7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,7 @@ jobs: toolchain: ${{ matrix.rust_channel }} - name: cargo doc (all features) - run: cargo doc --all-features + run: cargo doc --all-features --document-private-items env: RUSTDOCFLAGS: ${{ matrix.rust_channel == 'nightly' && '-Dwarnings --cfg=docsrs' || '-Dwarnings' }}