rust/hg-cpython/src/dirstate/non_normal_entries.rs
changeset 44973 26114bd6ec60
parent 44416 8ac5726d695d
child 47094 e061a1df32a8
equal deleted inserted replaced
44962:ef8dcee272ac 44973:26114bd6ec60
    60 
    60 
    61     fn translate_key(
    61     fn translate_key(
    62         py: Python,
    62         py: Python,
    63         key: &HgPathBuf,
    63         key: &HgPathBuf,
    64     ) -> PyResult<Option<PyBytes>> {
    64     ) -> PyResult<Option<PyBytes>> {
    65         Ok(Some(PyBytes::new(py, key.as_ref())))
    65         Ok(Some(PyBytes::new(py, key.as_bytes())))
    66     }
    66     }
    67 }
    67 }
    68 
    68 
    69 type NonNormalEntriesIter<'a> = hash_set::Iter<'a, HgPathBuf>;
    69 type NonNormalEntriesIter<'a> = hash_set::Iter<'a, HgPathBuf>;
    70 
    70