Merge commit 'refs/pull/260/head' of github.com:bitcoindevkit/bdk

This commit is contained in:
Alekos Filini 2021-01-05 16:06:32 +01:00
commit a95a9f754c
No known key found for this signature in database
GPG Key ID: 5E8AFC3034FDFA4F
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -420,7 +420,7 @@ where
/// [`ToDescriptorKey`]: the generated keys can be directly used in descriptors if `Self` is also
/// [`ToDescriptorKey`].
pub trait GeneratableKey<Ctx: ScriptContext>: 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`