Remove wildcard in push_bytes module
Remove the wildcard even though it is only re-exporting things from module code within the file.
This commit is contained in:
parent
3c16ed05c9
commit
397a4b9382
|
@ -9,7 +9,8 @@ use crate::script;
|
||||||
|
|
||||||
#[rustfmt::skip] // Keep public re-exports separate.
|
#[rustfmt::skip] // Keep public re-exports separate.
|
||||||
#[doc(inline)]
|
#[doc(inline)]
|
||||||
pub use self::primitive::*;
|
// This is not the usual re-export, `primitive` here is an code audit thing.
|
||||||
|
pub use self::primitive::{PushBytes, PushBytesBuf};
|
||||||
|
|
||||||
/// This module only contains required operations so that outside functions wouldn't accidentally
|
/// This module only contains required operations so that outside functions wouldn't accidentally
|
||||||
/// break invariants. Therefore auditing this module should be sufficient.
|
/// break invariants. Therefore auditing this module should be sufficient.
|
||||||
|
@ -421,7 +422,8 @@ impl PushBytesErrorReport for core::convert::Infallible {
|
||||||
fn input_len(&self) -> usize { match *self {} }
|
fn input_len(&self) -> usize { match *self {} }
|
||||||
}
|
}
|
||||||
|
|
||||||
pub use error::*;
|
#[doc(inline)]
|
||||||
|
pub use error::PushBytesError;
|
||||||
|
|
||||||
#[cfg(any(target_pointer_width = "16", target_pointer_width = "32"))]
|
#[cfg(any(target_pointer_width = "16", target_pointer_width = "32"))]
|
||||||
mod error {
|
mod error {
|
||||||
|
|
Loading…
Reference in New Issue