Skip to content

Commit

Permalink
chore: remove repetitive words (#1739)
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Kaneda <erik@risczero.com>
  • Loading branch information
simlecode and SchmErik committed Apr 30, 2024
1 parent 9a90de9 commit c809f31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion risc0/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl GuestListEntry {
}

fn codegen_consts(&self) -> String {
// Quick check for '#' to avoid injection of arbitrary Rust code into the the
// Quick check for '#' to avoid injection of arbitrary Rust code into the
// method.rs file. This would not be a serious issue since it would only
// affect the user that set the path, but it's good to add a check.
if self.path.contains('#') {
Expand Down
2 changes: 1 addition & 1 deletion risc0/zkvm/src/host/server/exec/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl<'a> ExecutorImpl<'a> {
})?;
let elapsed = start_time.elapsed();

// Set the session_journal to the committed data iff the the guest set a non-zero output.
// Set the session_journal to the committed data iff the guest set a non-zero output.
let session_journal = result
.output_digest
.and_then(|digest| (digest != Digest::ZERO).then(|| journal.buf.take()));
Expand Down

0 comments on commit c809f31

Please sign in to comment.