File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ _Do_ document things that are not clear, e.g.:
579
579
Keep in mind that better variable names can reduce the need for comments , e . g. :
580
580
581
581
- `burnblock_height ` instead of `height ` may eliminate the need to comment that `height ` refers to a burnblock height
582
- - `process_microblocks ` instead of `process_blocks ` is more correct , and may eliminate the need to to explain that the inputs are microblocks
582
+ - `process_microblocks ` instead of `process_blocks ` is more correct , and may eliminate the need to explain that the inputs are microblocks
583
583
- `add_transaction_to_microblock ` explains more than `handle_transaction `, and reduces the need to even read the comment
584
584
585
585
# Licensing and contributor license agreement
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ const LOG2_API: SimpleFunctionAPI = SimpleFunctionAPI {
529
529
snippet : "log2 ${1:expr-1}" ,
530
530
signature : "(log2 n)" ,
531
531
description :
532
- "Returns the power to which the number 2 must be raised to to obtain the value `n`, rounded
532
+ "Returns the power to which the number 2 must be raised to obtain the value `n`, rounded
533
533
down to the nearest integer. Fails on a negative numbers.
534
534
" ,
535
535
example : "(log2 u8) ;; Returns u3
Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ pub fn execute(program: &str) -> Result<Option<Value>> {
575
575
)
576
576
}
577
577
578
- /// Execute for test in in Clarity2, Epoch21, testnet.
578
+ /// Execute for test in Clarity2, Epoch21, testnet.
579
579
#[ cfg( any( test, feature = "testing" ) ) ]
580
580
pub fn execute_v2 ( program : & str ) -> Result < Option < Value > > {
581
581
execute_with_parameters (
You can’t perform that action at this time.
0 commit comments