rust/hg-pyo3/src/dirstate/dirstate_map.rs
changeset 52868 8e94b32de84b
parent 52866 c917656a259d
--- a/rust/hg-pyo3/src/dirstate/dirstate_map.rs	Tue Feb 04 19:37:22 2025 +0100
+++ b/rust/hg-pyo3/src/dirstate/dirstate_map.rs	Wed Feb 05 11:11:05 2025 +0100
@@ -346,6 +346,8 @@
 
     fn __contains__(
         slf: &Bound<'_, Self>,
+        // TODO we should accept PyAny and return false if wrong type
+        // review similar "protocol" methods (see example in dirs_multiset)
         key: &Bound<'_, PyBytes>,
     ) -> PyResult<bool> {
         Self::with_inner_read(slf, |_self_ref, inner| {