Commit 1357997
committed
Merge rust-bitcoin#4717: script: Remove public re-exports
ae1c0ed script: Remove public re-exports (Tobin C. Harding)
Pull request description:
By convention we do not re-export things from modules where they are used. Also the `borrowed` and `owned` modules are private so these public re-exports make no sense.
FTR users can do both of these already
- `use bitcoin::script::{Script, ScriptBuf};`
- `use bitcoin::{Script, ScriptBuf};`
ACKs for top commit:
apoelstra:
ACK ae1c0ed; successfully ran local tests
Tree-SHA512: 1ba792597ba06462c9c73db8c28d7f14b945b19bbb1a19a45539c2257cdfbb0378018725e31fef33e7ca1df2a639606e9f729dab0455a7e76a396117f055a4da2 files changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
| |||
0 commit comments