Skip to content

Commit 1f97d5d

Browse files
committed
🩹 fix comments
1 parent 7913099 commit 1f97d5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/bigint/naf/implementation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub fn binary_to_be_naf(num_bits: usize) -> Script {
8585
OP_2DUP OP_BITAND OP_IF
8686
// In case they are both 1, we need to change them to -1 and 0, while the carry must be one
8787
OP_3DROP
88-
1 (-1) 0
88+
{ 1 } { -1 } { 0 }
8989
OP_ENDIF
9090

9191
OP_ROT

src/bigint/stack/implementation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<const N_BITS: usize, const LIMB_SIZE: usize> NonNativeBigIntImpl<N_BITS, LI
207207
}
208208
}
209209

210-
/// Extends the big integer to the specified type.
210+
/// Extends the big integer to the specified [`NonNativeLimbInteger`].
211211
pub(in super::super) fn handle_OP_EXTEND<T>() -> Script
212212
where
213213
T: NonNativeLimbInteger,
@@ -238,7 +238,7 @@ impl<const N_BITS: usize, const LIMB_SIZE: usize> NonNativeBigIntImpl<N_BITS, LI
238238
}
239239
}
240240

241-
/// Extends the big integer to the specified type.
241+
/// Compresses the big integer to the specified [`NonNativeLimbInteger`].
242242
pub(in super::super) fn handle_OP_COMPRESS<T>() -> Script
243243
where
244244
T: NonNativeLimbInteger,

0 commit comments

Comments
 (0)