From 9a432cab318c40a30c2b23b3474b7722a526c6b1 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 19 Jul 2024 09:07:47 -0400 Subject: [PATCH] pacify the merciless cargo fmt --- examples/calc/type_check.rs | 6 +----- tests/tracked_fn_return_ref.rs | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/calc/type_check.rs b/examples/calc/type_check.rs index da5f792..4aaf3d3 100644 --- a/examples/calc/type_check.rs +++ b/examples/calc/type_check.rs @@ -145,11 +145,7 @@ fn check_string( #[test] fn check_print() { - check_string( - "print 1 + 2", - expect![""], - &[], - ); + check_string("print 1 + 2", expect![""], &[]); } #[test] diff --git a/tests/tracked_fn_return_ref.rs b/tests/tracked_fn_return_ref.rs index d828b73..d4cab33 100644 --- a/tests/tracked_fn_return_ref.rs +++ b/tests/tracked_fn_return_ref.rs @@ -32,6 +32,7 @@ fn invoke() { "test 1", "test 2", ] - "#]].assert_debug_eq(x); + "#]] + .assert_debug_eq(x); }) }