rust-bitcoin-unsafe-fast/bitcoin/src/psbt/map
Tobin C. Harding 7d695f6b41
Improve public re-exports
Improve the public exports in two ways:

1. Inline re-exports into the docs of the module that re-exports them.
2. Separate public and private use statements

Recently we discussed a way to separate the public and private import
statements to make the code more clear and prevent `rustfmt` joining
them all together.

Separate public exports using a code block and `#[rustfmt::skip]`. Has
the nice advantage of reducing the number of `#[doc(inline)]` attributes
also.

1. Modules first, as they are part of the project's structure.
2. Private imports
3. Public re-exports (using `rustfmt::skip` to prevent merge)

Use the format

```rust
mod xyz;
mod abc;

use ...;

pub use {
    ...,
};
```

This patch introduces changes to the rendered HTML docs.
2023-10-31 15:16:47 +11:00
..
global.rs Rename xpub and xpriv types 2023-08-22 13:47:35 +10:00
input.rs Merge rust-bitcoin/rust-bitcoin#1933: Fix links in docs 2023-08-02 16:37:13 +02:00
mod.rs Improve public re-exports 2023-10-31 15:16:47 +11:00
output.rs psbt: Run the formatter 2023-03-21 08:33:23 +11:00