We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ff5d68 commit 3fdc574Copy full SHA for 3fdc574
bitcoin/src/blockdata/script/owned.rs
@@ -89,6 +89,8 @@ impl ScriptBuf {
89
}
90
91
92
+mod tmp_pub {
93
+ use super::*;
94
impl ScriptBuf {
95
/// Creates a new script builder
96
pub fn builder() -> Builder { Builder::new() }
@@ -151,7 +153,10 @@ impl ScriptBuf {
151
153
/// multiple times.
152
154
pub fn scan_and_push_verify(&mut self) { self.push_verify(self.last_opcode()); }
155
156
+}
157
158
+mod tmp_priv {
159
160
161
/// Pretends to convert `&mut ScriptBuf` to `&mut Vec<u8>` so that it can be modified.
162
///
@@ -216,6 +221,7 @@ impl ScriptBuf {
216
221
217
222
218
223
224
219
225
220
226
impl<'a> core::iter::FromIterator<Instruction<'a>> for ScriptBuf {
227
fn from_iter<T>(iter: T) -> Self
0 commit comments