diff rust/hg-pyo3/src/revision.rs @ 52792:acae91fad6be

rust-pyo3-revlog: standalone NodeTree class This is the actual first usage of `PyShareable`, but perhaps it could be not so much necessary in this case (we could just reference the `InnerRevlog` python object, and we do not need to keep additional state).
author Georges Racinet <georges.racinet@cloudcrane.io>
date Sun, 22 Dec 2024 17:02:09 +0100
parents 1b9907575768
children 5ad4ed71fbe0
line wrap: on
line diff
--- a/rust/hg-pyo3/src/revision.rs	Sun Dec 22 21:37:29 2024 +0100
+++ b/rust/hg-pyo3/src/revision.rs	Sun Dec 22 17:02:09 2024 +0100
@@ -41,7 +41,6 @@
     }
 }
 
-#[allow(dead_code)]
 pub fn check_revision(
     index: &impl RevlogIndex,
     rev: impl Into<UncheckedRevision>,