Skip to content

Commit c679dcc

Browse files
committed
chore: remove redundant words in comment
Signed-off-by: lvyaoting <[email protected]>
1 parent 5760e8a commit c679dcc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ _Do_ document things that are not clear, e.g.:
579579
Keep in mind that better variable names can reduce the need for comments, e.g.:
580580

581581
- `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
583583
- `add_transaction_to_microblock` explains more than `handle_transaction`, and reduces the need to even read the comment
584584

585585
# Licensing and contributor license agreement

clarity/src/vm/docs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ const LOG2_API: SimpleFunctionAPI = SimpleFunctionAPI {
529529
snippet: "log2 ${1:expr-1}",
530530
signature: "(log2 n)",
531531
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
533533
down to the nearest integer. Fails on a negative numbers.
534534
",
535535
example: "(log2 u8) ;; Returns u3

clarity/src/vm/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ pub fn execute(program: &str) -> Result<Option<Value>> {
575575
)
576576
}
577577

578-
/// Execute for test in in Clarity2, Epoch21, testnet.
578+
/// Execute for test in Clarity2, Epoch21, testnet.
579579
#[cfg(any(test, feature = "testing"))]
580580
pub fn execute_v2(program: &str) -> Result<Option<Value>> {
581581
execute_with_parameters(

0 commit comments

Comments
 (0)