comparison rust/hg-core/src/revlog/node.rs @ 49631: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 34decbaf4da3
children 2202832b35e8
comparison
equal deleted inserted replaced
49630:1b6be761c23d 49631:c7fb9b74e753
8 //! In Mercurial code base, it is customary to call "a node" the binary SHA 8 //! In Mercurial code base, it is customary to call "a node" the binary SHA
9 //! of a revision. 9 //! of a revision.
10 10
11 use crate::errors::HgError; 11 use crate::errors::HgError;
12 use bytes_cast::BytesCast; 12 use bytes_cast::BytesCast;
13 use std::convert::{TryFrom, TryInto};
14 use std::fmt; 13 use std::fmt;
15 14
16 /// The length in bytes of a `Node` 15 /// The length in bytes of a `Node`
17 /// 16 ///
18 /// This constant is meant to ease refactors of this module, and 17 /// This constant is meant to ease refactors of this module, and