Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-cpython/src/utils.rs @ 49749:c7fb9b74e753
rust: remove newly redundant `use` statements with the 2021 edition prelude
https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 14 Nov 2022 15:20:48 +0100 |
parents | 26114bd6ec60 |
children | 28a0eb21ff04 |
line wrap: on
line diff
--- a/rust/hg-cpython/src/utils.rs Mon Nov 14 15:19:27 2022 +0100 +++ b/rust/hg-cpython/src/utils.rs Mon Nov 14 15:20:48 2022 +0100 @@ -1,7 +1,6 @@ use cpython::exc::ValueError; use cpython::{PyBytes, PyDict, PyErr, PyObject, PyResult, PyTuple, Python}; use hg::revlog::Node; -use std::convert::TryFrom; #[allow(unused)] pub fn print_python_trace(py: Python) -> PyResult<PyObject> {