From dc0db358abe19481e475e10c32149b53370f1a1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:57:31 +0200 Subject: Merging upstream version 1.72.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/gix-hashtable/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vendor/gix-hashtable/src/lib.rs') diff --git a/vendor/gix-hashtable/src/lib.rs b/vendor/gix-hashtable/src/lib.rs index 476600578..54935bcbc 100644 --- a/vendor/gix-hashtable/src/lib.rs +++ b/vendor/gix-hashtable/src/lib.rs @@ -1,4 +1,4 @@ -//! Customized HashMap and Hasher implementation optimized for using `ObjectId`s as keys. +//! Customized `HashMap` and Hasher implementation optimized for using `ObjectId`s as keys. //! //! The crate mirrors `std::collections` in layout for familiarity. #![deny(missing_docs, rust_2018_idioms)] @@ -35,7 +35,7 @@ pub mod sync { /// pub mod hash { - /// A Hasher for usage with HashMap keys that are already robust hashes (like an `ObjectId`). + /// A Hasher for usage with `HashMap` keys that are already robust hashes (like an `ObjectId`). /// The first `8` bytes of the hash are used as the `HashMap` hash #[derive(Default, Clone, Copy)] pub struct Hasher(u64); @@ -75,7 +75,7 @@ pub mod hash { panic_other_writers!(write_isize, isize); } - /// A Hasher for usage with HashMap keys that are already robust hashes (like an `ObjectId`). + /// A Hasher for usage with `HashMap` keys that are already robust hashes (like an `ObjectId`). /// The first `8` bytes of the hash are used as the `HashMap` hash #[derive(Default, Clone, Copy)] pub struct Builder; @@ -88,9 +88,9 @@ pub mod hash { } } -/// A HashMap for usage with keys that are already robust hashes (like an `ObjectId`). +/// A `HashMap` for usage with keys that are already robust hashes (like an `ObjectId`). /// The first `8` bytes of the hash are used as the `HashMap` hash pub type HashMap = hashbrown::HashMap; -/// A HashSet for usage with keys that are already robust hashes (like an `ObjectId`). +/// A `HashSet` for usage with keys that are already robust hashes (like an `ObjectId`). /// The first `8` bytes of the hash are used as the `HashMap` hash pub type HashSet = hashbrown::HashSet; -- cgit v1.2.3