Skip to content

Commit 70fa8b5

Browse files
authored
ci: fix ci (#3)
ci: fix ci
1 parent d6ea97d commit 70fa8b5

File tree

5 files changed

+3
-13
lines changed

5 files changed

+3
-13
lines changed
File renamed without changes.

crates/core/executor/src/executor.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,6 @@ mod tests {
367367
#[test]
368368
fn test_printa_run() {
369369
let program = Program::from(PRINTA_BF).unwrap();
370-
println!("program: {:?}", program);
371-
372370
let mut runtime = Executor::new(program, vec![]);
373371
runtime.run().unwrap();
374372

@@ -378,8 +376,6 @@ mod tests {
378376
#[test]
379377
fn test_move_run() {
380378
let program = Program::from(MOVE_BF).unwrap();
381-
println!("program: {:?}", program);
382-
383379
let mut runtime = Executor::new(program, vec![]);
384380
runtime.run().unwrap();
385381

@@ -390,8 +386,6 @@ mod tests {
390386
#[test]
391387
fn test_loop_run() {
392388
let program = Program::from(LOOP_BF).unwrap();
393-
println!("program: {:?}", program);
394-
395389
let mut runtime = Executor::new(program, vec![]);
396390
runtime.run().unwrap();
397391

@@ -402,8 +396,6 @@ mod tests {
402396
#[test]
403397
fn test_hello_run() {
404398
let program = Program::from(HELLO_BF).unwrap();
405-
println!("program: {:?}", program);
406-
407399
let mut runtime = Executor::new(program, vec![]);
408400
runtime.run().unwrap();
409401

@@ -417,8 +409,6 @@ mod tests {
417409
#[test]
418410
fn test_fibo_run() {
419411
let program = Program::from(FIBO_BF).unwrap();
420-
println!("program: {:?}", program);
421-
422412
let mut runtime = Executor::new(program, vec![17]);
423413
runtime.run().unwrap();
424414

crates/core/machine/src/utils/logger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub fn setup_logger() {
4141
.init();
4242
}
4343
_ => {
44-
panic!("Invalid logger type: {}", logger_type);
44+
panic!("Invalid logger type: {logger_type}");
4545
}
4646
}
4747
});

crates/core/machine/src/utils/span.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ where
119119
let (width, lines) = sorted_table_lines(instr_cts);
120120
let lines = lines.map(|(label, count)| format_table_line(&width, &label, count));
121121

122-
once(format!("{}", name))
122+
once(format!("{name}"))
123123
.chain(
124124
children
125125
.iter()

examples/fibonacci/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() {
1515

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

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

0 commit comments

Comments
 (0)