diff --git a/rustfmt.toml b/rustfmt.toml index e579754f8c..f5f3f01675 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -11,7 +11,7 @@ disable_all_formatting = false edition = "2018" empty_item_single_line = true enum_discrim_align_threshold = 6 -fn_args_layout = "Compressed" +fn_params_layout = "Compressed" fn_single_line = false force_explicit_abi = true force_multiline_blocks = false diff --git a/src/util.rs b/src/util.rs index 78acc8ed6c..f6fb6aa85b 100644 --- a/src/util.rs +++ b/src/util.rs @@ -45,9 +45,7 @@ pub fn _panic(msg: Janet) -> ! { #[allow(dead_code)] #[track_caller] pub fn assert_deep_inner( - op: &'static str, - left: &dyn fmt::Debug, - right: &dyn fmt::Debug, + op: &'static str, left: &dyn fmt::Debug, right: &dyn fmt::Debug, args: Option>, ) -> ! { match args {