rust/hg-cpython/src/cindex.rs
changeset 51274 96e05f1a99bd
parent 50990 4c5f6e95df84
equal deleted inserted replaced
51273:fd1aa5e18f75 51274:96e05f1a99bd
     7 
     7 
     8 //! Bindings to use the Index defined by the parsers C extension
     8 //! Bindings to use the Index defined by the parsers C extension
     9 //!
     9 //!
    10 //! Ideally, we should use an Index entirely implemented in Rust,
    10 //! Ideally, we should use an Index entirely implemented in Rust,
    11 //! but this will take some time to get there.
    11 //! but this will take some time to get there.
    12 
    12 #![allow(dead_code)]
    13 use cpython::{
    13 use cpython::{
    14     exc::ImportError, exc::TypeError, ObjectProtocol, PyClone, PyErr,
    14     exc::ImportError, exc::TypeError, ObjectProtocol, PyClone, PyErr,
    15     PyObject, PyResult, PyTuple, Python, PythonObject,
    15     PyObject, PyResult, PyTuple, Python, PythonObject,
    16 };
    16 };
    17 use hg::revlog::{Node, RevlogIndex};
    17 use hg::revlog::{Node, RevlogIndex};