comparison rust/hg-cpython/src/filepatterns.rs @ 43836:ce088b38f92b

rust: run rustfmt # skip-blame automated reformatting Differential Revision: https://phab.mercurial-scm.org/D7578
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 07 Dec 2019 13:06:25 -0800
parents ee3872c14ab3
children
comparison
equal deleted inserted replaced
43835:d9f85f61f0ed 43836:ce088b38f92b
8 8
9 //! Bindings for the `hg::filepatterns` module provided by the 9 //! Bindings for the `hg::filepatterns` module provided by the
10 //! `hg-core` crate. From Python, this will be seen as `rustext.filepatterns` 10 //! `hg-core` crate. From Python, this will be seen as `rustext.filepatterns`
11 //! and can be used as replacement for the the pure `filepatterns` Python 11 //! and can be used as replacement for the the pure `filepatterns` Python
12 //! module. 12 //! module.
13 //!
14 use crate::exceptions::{PatternError, PatternFileError}; 13 use crate::exceptions::{PatternError, PatternFileError};
15 use cpython::{ 14 use cpython::{
16 PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject, 15 PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject,
17 }; 16 };
18 use hg::utils::files; 17 use hg::utils::files;