diff rust/hg-pyo3/src/path.rs @ 52859:9f083ff3c96c

rust-pyo3-dirstate: DirstateMap simple read-only methods This takes care of all read-only methods except: - copymap methods - methods returning iterators These two categories will be done in forthcoming changesets.
author Georges Racinet <georges.racinet@cloudcrane.io>
date Wed, 29 Jan 2025 18:26:10 +0100
parents c60f69556924
children 09eb477eec65
line wrap: on
line diff
--- a/rust/hg-pyo3/src/path.rs	Thu Feb 06 11:18:28 2025 +0100
+++ b/rust/hg-pyo3/src/path.rs	Wed Jan 29 18:26:10 2025 +0100
@@ -15,7 +15,6 @@
 
 use hg::utils::hg_path::{HgPath, HgPathBuf};
 
-#[allow(dead_code)]
 #[derive(Eq, Ord, PartialEq, PartialOrd, Hash, derive_more::From)]
 pub struct PyHgPathRef<'a>(pub &'a HgPath);