diff --git a/rustfmt.toml b/rustfmt.toml index 86f7c7af..110964a9 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,3 @@ use_small_heuristics = "max" -fn_args_layout = "compressed" +fn_params_layout = "compressed" max_width = 2147483647 diff --git a/web-app/src/components/proof_widget/mod.rs b/web-app/src/components/proof_widget/mod.rs index 075ac3ac..7029ad1d 100644 --- a/web-app/src/components/proof_widget/mod.rs +++ b/web-app/src/components/proof_widget/mod.rs @@ -172,7 +172,7 @@ impl ProofWidget { .rules() .map(|rule| { let pjref = Coproduct::inject(jref); - + // Determine the folder for the current theme let get_folder = || { if theme() == "dark" { @@ -182,12 +182,12 @@ impl ProofWidget { } }; let image_src = format!("{}/{}.png", get_folder(), rule.get_name()); - + html! {