rhg: fix typo
authorRaphaël Gomès <rgomes@octobus.net>
Wed, 11 Jan 2023 15:44:21 +0100
changeset 49978 e43f91244de2
parent 49976 afa9d73780e1
child 49979 f5b168979626
rhg: fix typo
rust/rhg/src/commands/files.rs
--- a/rust/rhg/src/commands/files.rs	Fri Feb 03 17:31:54 2023 -0500
+++ b/rust/rhg/src/commands/files.rs	Wed Jan 11 15:44:21 2023 +0100
@@ -70,8 +70,8 @@
                 "rhg files is not supported in narrow clones",
             ));
         }
-        let distate = Dirstate::new(repo)?;
-        let files = distate.tracked_files()?;
+        let dirstate = Dirstate::new(repo)?;
+        let files = dirstate.tracked_files()?;
         display_files(invocation.ui, repo, files.into_iter().map(Ok))
     }
 }