Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee committed Sep 12, 2024
1 parent 7438d73 commit 06954ca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arbitrator/prover/src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,9 @@ trait ImportResolver: for<'a, 'b> Fn(&'a str, &'b str) -> Result<Function> + Siz
impl<F: for<'a, 'b> Fn(&'a str, &'b str) -> Result<Function>> ImportResolver for F {}

impl Module {
fn make_imports_resolver(import_map: &HashMap<String, AvailableImport>) -> impl ImportResolver + '_ {
fn make_imports_resolver(
import_map: &HashMap<String, AvailableImport>,
) -> impl ImportResolver + '_ {
move |module, name| {
let qualified_name = format!("{module}__{name}");

Expand All @@ -394,7 +396,9 @@ impl Module {
}
}

fn make_forward_resolver(import_map: &HashMap<String, AvailableImport>) -> impl ImportResolver + '_ {
fn make_forward_resolver(
import_map: &HashMap<String, AvailableImport>,
) -> impl ImportResolver + '_ {
move |module, name| {
let qualified_name = format!("{module}__{name}");

Expand Down

0 comments on commit 06954ca

Please sign in to comment.