From 63f261f3f253cf49d445c94bde8cd8ebf12e923a Mon Sep 17 00:00:00 2001 From: tsinghuacoder Date: Wed, 19 Jun 2024 00:51:13 +0900 Subject: [PATCH] chore: fix some comments (#1456) Signed-off-by: tsinghuacoder --- pil-analyzer/src/condenser.rs | 4 ++-- riscv/src/runtime.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pil-analyzer/src/condenser.rs b/pil-analyzer/src/condenser.rs index 4600ee64c..c2b7404f8 100644 --- a/pil-analyzer/src/condenser.rs +++ b/pil-analyzer/src/condenser.rs @@ -98,8 +98,8 @@ pub fn condense( } s => Some(s), }; - // Extract and prepend the new witness columns, then identites - // and finally the original statment (if it exists). + // Extract and prepend the new witness columns, then identities + // and finally the original statement (if it exists). let new_wits = condenser .extract_new_witness_columns() .into_iter() diff --git a/riscv/src/runtime.rs b/riscv/src/runtime.rs index 564ef3813..cd49c2d57 100644 --- a/riscv/src/runtime.rs +++ b/riscv/src/runtime.rs @@ -70,7 +70,7 @@ impl SubMachine { struct SyscallImpl(Vec); /// RISCV powdr assembly runtime. -/// Determines submachines, instructions and syscalls avaiable to the main machine. +/// Determines submachines, instructions and syscalls available to the main machine. pub struct Runtime { submachines: BTreeMap, syscalls: BTreeMap,