Mercurial > hg
comparison rust/hg-cpython/src/filepatterns.rs @ 42841:ce6797ef6eab
rust: apply more formatting fixes
My cargo fmt updated these lines and they look good.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Aug 2019 14:12:38 +0900 |
parents | 0247601869ba |
children | 7a01778bc7b7 |
comparison
equal
deleted
inserted
replaced
42840:b1b984f9c01d | 42841:ce6797ef6eab |
---|---|
6 // This software may be used and distributed according to the terms of the | 6 // This software may be used and distributed according to the terms of the |
7 // GNU General Public License version 2 or any later version. | 7 // GNU General Public License version 2 or any later version. |
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 module. | 11 //! and can be used as replacement for the the pure `filepatterns` Python |
12 //! module. | |
12 //! | 13 //! |
13 use crate::exceptions::{PatternError, PatternFileError}; | 14 use crate::exceptions::{PatternError, PatternFileError}; |
14 use cpython::{ | 15 use cpython::{ |
15 PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject, | 16 PyBytes, PyDict, PyModule, PyObject, PyResult, PyTuple, Python, ToPyObject, |
16 }; | 17 }; |