From: Steve Myers Date: Tue, 5 Jan 2021 00:20:47 +0000 (-0800) Subject: [ci] Fail 'Build docs' job if warnings X-Git-Tag: v0.3.0~8^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.DecodeMetadata.html?a=commitdiff_plain;h=aa31c96821a9387f8d7a71d31f0b23239593496d;p=bdk [ci] Fail 'Build docs' job if warnings --- diff --git a/.github/workflows/nightly_docs.yml b/.github/workflows/nightly_docs.yml index dd8155cf..d88593fa 100644 --- a/.github/workflows/nightly_docs.yml +++ b/.github/workflows/nightly_docs.yml @@ -27,7 +27,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: rustdoc - args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs + args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings - name: Upload artifact uses: actions/upload-artifact@v2 with: diff --git a/src/keys/mod.rs b/src/keys/mod.rs index 25c8e03b..7a7fb7f0 100644 --- a/src/keys/mod.rs +++ b/src/keys/mod.rs @@ -420,7 +420,7 @@ where /// [`ToDescriptorKey`]: the generated keys can be directly used in descriptors if `Self` is also /// [`ToDescriptorKey`]. pub trait GeneratableKey: Sized { - /// Type specifying the amount of entropy required e.g. [u8;32] + /// Type specifying the amount of entropy required e.g. `[u8;32]` type Entropy: AsMut<[u8]> + Default; /// Extra options required by the `generate_with_entropy`