equal
deleted
inserted
replaced
13 |
13 |
14 use std::convert::Infallible; |
14 use std::convert::Infallible; |
15 |
15 |
16 use hg::utils::hg_path::{HgPath, HgPathBuf}; |
16 use hg::utils::hg_path::{HgPath, HgPathBuf}; |
17 |
17 |
18 #[allow(dead_code)] |
|
19 #[derive(Eq, Ord, PartialEq, PartialOrd, Hash, derive_more::From)] |
18 #[derive(Eq, Ord, PartialEq, PartialOrd, Hash, derive_more::From)] |
20 pub struct PyHgPathRef<'a>(pub &'a HgPath); |
19 pub struct PyHgPathRef<'a>(pub &'a HgPath); |
21 |
20 |
22 impl<'py> IntoPyObject<'py> for PyHgPathRef<'_> { |
21 impl<'py> IntoPyObject<'py> for PyHgPathRef<'_> { |
23 type Target = PyBytes; |
22 type Target = PyBytes; |