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`