Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mverzilli committed Oct 9, 2023
1 parent 23436e7 commit e9fabbc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tooling/debugger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@ impl<'backend, B: BlackBoxFunctionSolver> DebugContext<'backend, B> {
let start = loc.span.start() as usize;
let end = loc.span.end() as usize;
println!("At {}:{start}-{end}", file.path.as_path().display());
println!("\n{}{}{}\n", &source[0..start], &source[start..end].reversed(), &source[end..]);
println!(
"\n{}{}{}\n",
&source[0..start],
&source[start..end].reversed(),
&source[end..]
);
}
}
None => {}
Expand Down

0 comments on commit e9fabbc

Please sign in to comment.