diff -r 717686c5e461 -r 326fdce22fb2 rust/hg-cpython/src/filepatterns.rs --- a/rust/hg-cpython/src/filepatterns.rs Fri Jul 12 11:08:31 2019 +0200 +++ b/rust/hg-cpython/src/filepatterns.rs Tue Jul 02 17:15:03 2019 +0200 @@ -10,10 +10,10 @@ //! `hg-core` crate. From Python, this will be seen as `rustext.filepatterns` //! and can be used as replacement for the the pure `filepatterns` Python module. //! +use crate::exceptions::{PatternError, PatternFileError}; use cpython::{ PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject, }; -use exceptions::{PatternError, PatternFileError}; use hg::{build_single_regex, read_pattern_file, LineNumber, PatternTuple}; /// Rust does not like functions with different return signatures.