From 40909b4331a7bc481f5bcef149efa388f46222f7 Mon Sep 17 00:00:00 2001 From: Mattias Wallin Date: Sun, 1 Sep 2024 08:34:52 +0200 Subject: [PATCH] Fix `test_editions_2015_2018_2021_identical` Was comparing unit type. --- src/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index 8a95cc55fcb..d35a249a80a 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -900,7 +900,7 @@ make_backup = false Config::default_with_style_edition(style_edition) .all_options() .to_toml() - .unwrap(); + .unwrap() }; let edition2015 = get_edition_toml(StyleEdition::Edition2015); let edition2018 = get_edition_toml(StyleEdition::Edition2018);