Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
10 changes: 0 additions & 10 deletions crates/core/executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ mod tests {
#[test]
fn test_printa_run() {
let program = Program::from(PRINTA_BF).unwrap();
println!("program: {:?}", program);

let mut runtime = Executor::new(program, vec![]);
runtime.run().unwrap();

Expand All @@ -378,8 +376,6 @@ mod tests {
#[test]
fn test_move_run() {
let program = Program::from(MOVE_BF).unwrap();
println!("program: {:?}", program);

let mut runtime = Executor::new(program, vec![]);
runtime.run().unwrap();

Expand All @@ -390,8 +386,6 @@ mod tests {
#[test]
fn test_loop_run() {
let program = Program::from(LOOP_BF).unwrap();
println!("program: {:?}", program);

let mut runtime = Executor::new(program, vec![]);
runtime.run().unwrap();

Expand All @@ -402,8 +396,6 @@ mod tests {
#[test]
fn test_hello_run() {
let program = Program::from(HELLO_BF).unwrap();
println!("program: {:?}", program);

let mut runtime = Executor::new(program, vec![]);
runtime.run().unwrap();

Expand All @@ -417,8 +409,6 @@ mod tests {
#[test]
fn test_fibo_run() {
let program = Program::from(FIBO_BF).unwrap();
println!("program: {:?}", program);

let mut runtime = Executor::new(program, vec![17]);
runtime.run().unwrap();

Expand Down
2 changes: 1 addition & 1 deletion crates/core/machine/src/utils/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn setup_logger() {
.init();
}
_ => {
panic!("Invalid logger type: {}", logger_type);
panic!("Invalid logger type: {logger_type}");
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion crates/core/machine/src/utils/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ where
let (width, lines) = sorted_table_lines(instr_cts);
let lines = lines.map(|(label, count)| format_table_line(&width, &label, count));

once(format!("{}", name))
once(format!("{name}"))
.chain(
children
.iter()
Expand Down
2 changes: 1 addition & 1 deletion examples/fibonacci/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn main() {

// Execute the guest using the `ProverClient.execute` method, without generating a proof.
let output = client.execute(ELF, stdin.clone()).run().unwrap();
println!("result: {:?}", output);
println!("result: {output:?}");

// Generate the proof for the given guest and input.
let (pk, vk) = client.setup(ELF);
Expand Down