Mercurial > hg
diff rust/hg-cpython/src/dirstate/status.rs @ 44525:f13d19549efd
rust-status: rename `StatusResult` to `DirstateStatus`
"Result" has a special meaning in the Rust world, this should be clearer.
Differential Revision: https://phab.mercurial-scm.org/D8087
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 06 Feb 2020 14:28:35 +0100 |
parents | 06df075b8925 |
children | f96b28aa4b79 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/dirstate/status.rs Thu Feb 06 14:25:59 2020 +0100 +++ b/rust/hg-cpython/src/dirstate/status.rs Thu Feb 06 14:28:35 2020 +0100 @@ -20,7 +20,7 @@ matchers::{AlwaysMatcher, FileMatcher}, status, utils::{files::get_path_from_bytes, hg_path::HgPath}, - StatusResult, + DirstateStatus, }; use std::borrow::Borrow; @@ -114,7 +114,7 @@ fn build_response( lookup: Vec<&HgPath>, - status_res: StatusResult, + status_res: DirstateStatus, py: Python, ) -> PyResult<(PyList, PyList, PyList, PyList, PyList, PyList, PyList)> { let modified = collect_pybytes_list(py, status_res.modified.as_ref());