Remove wildcard from script self re-exports
In the `script` module remove the wildcards and re-export stuff from `self` explicitly in both `primitives` and `bitcoin`. Internal change only, everything is re-exported.
This commit is contained in:
parent
397a4b9382
commit
0bf1910980
|
@ -75,10 +75,10 @@ use crate::OutPoint;
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use self::{
|
pub use self::{
|
||||||
borrowed::ScriptExt,
|
borrowed::ScriptExt,
|
||||||
builder::*,
|
builder::Builder,
|
||||||
instruction::*,
|
instruction::{Instruction, Instructions, InstructionIndices},
|
||||||
owned::ScriptBufExt,
|
owned::ScriptBufExt,
|
||||||
push_bytes::*,
|
push_bytes::{PushBytes, PushBytesBuf, PushBytesError, PushBytesErrorReport},
|
||||||
};
|
};
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use primitives::script::*;
|
pub use primitives::script::*;
|
||||||
|
|
|
@ -25,8 +25,8 @@ use crate::prelude::{Borrow, BorrowMut, Box, Cow, ToOwned, Vec};
|
||||||
#[rustfmt::skip] // Keep public re-exports separate.
|
#[rustfmt::skip] // Keep public re-exports separate.
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use self::{
|
pub use self::{
|
||||||
borrowed::*,
|
borrowed::Script,
|
||||||
owned::*,
|
owned::ScriptBuf,
|
||||||
};
|
};
|
||||||
|
|
||||||
// We keep all the `Script` and `ScriptBuf` impls together since its easier to see side-by-side.
|
// We keep all the `Script` and `ScriptBuf` impls together since its easier to see side-by-side.
|
||||||
|
|
Loading…
Reference in New Issue