Mercurial > public > mercurial-scm > hg-stable
comparison rust/hg-core/src/utils/hg_path.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 | 9dcfd1d05e6e |
children | e98fd81bb151 |
comparison
equal
deleted
inserted
replaced
49748:1b6be761c23d | 49749:c7fb9b74e753 |
---|---|
6 // GNU General Public License version 2 or any later version. | 6 // GNU General Public License version 2 or any later version. |
7 | 7 |
8 use crate::utils::SliceExt; | 8 use crate::utils::SliceExt; |
9 use std::borrow::Borrow; | 9 use std::borrow::Borrow; |
10 use std::borrow::Cow; | 10 use std::borrow::Cow; |
11 use std::convert::TryFrom; | |
12 use std::ffi::{OsStr, OsString}; | 11 use std::ffi::{OsStr, OsString}; |
13 use std::fmt; | 12 use std::fmt; |
14 use std::ops::Deref; | 13 use std::ops::Deref; |
15 use std::path::{Path, PathBuf}; | 14 use std::path::{Path, PathBuf}; |
16 | 15 |