changeset 51793:76c44ae8862e

rustfmt: apply formatting expected by newer nightly version This was missed in 3876d4c6c79ec5c71e8c51b876cc157e93a5eaac somehow.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 29 Jul 2024 10:06:28 +0200
parents f1aeca014d80
children c8188b10cf43
files rust/hg-core/src/dirstate_tree/dirstate_map.rs rust/hg-core/tests/test_missing_ancestors.rs
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate_tree/dirstate_map.rs	Thu Jul 25 15:56:04 2024 -0400
+++ b/rust/hg-core/src/dirstate_tree/dirstate_map.rs	Mon Jul 29 10:06:28 2024 +0200
@@ -430,7 +430,9 @@
 #[derive(Debug, Default)]
 pub(super) enum NodeData {
     Entry(DirstateEntry),
-    CachedDirectory { mtime: TruncatedTimestamp },
+    CachedDirectory {
+        mtime: TruncatedTimestamp,
+    },
     #[default]
     None,
 }
--- a/rust/hg-core/tests/test_missing_ancestors.rs	Thu Jul 25 15:56:04 2024 -0400
+++ b/rust/hg-core/tests/test_missing_ancestors.rs	Mon Jul 29 10:06:28 2024 +0200
@@ -69,7 +69,7 @@
     ancs
 }
 
-#[allow(unused)]  // Useful when debugging
+#[allow(unused)] // Useful when debugging
 #[derive(Clone, Debug)]
 enum MissingAncestorsAction {
     InitialBases(HashSet<Revision>),