From c6bb94de4243057310d3d07823a406c0f72589be Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sun, 5 May 2024 21:54:08 -0700 Subject: [PATCH] repo: make `RewriteType` private Looks like I forgot this in some recent refactoring. I don't really see any harm in making the type public later. I might want to make `rebase_descendants()` not clear `parent_mapping` and instead provide a way of accessing it afterwards (removing the need for the `_return_map()` flavors). We'll see if that ends up happening. For now it can be private anyway. --- lib/src/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/repo.rs b/lib/src/repo.rs index 6e01b528b..3faa43caf 100644 --- a/lib/src/repo.rs +++ b/lib/src/repo.rs @@ -762,7 +762,7 @@ impl RepoLoader { } #[derive(Clone, Copy, Debug, PartialEq, Eq)] -pub(crate) enum RewriteType { +enum RewriteType { Rewritten, Divergent, Abandoned,