mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Minor code tweaks
This commit is contained in:
@@ -5,8 +5,7 @@ pub use ordered_float::*;
|
||||
/// Hash the given value with a predictable hasher.
|
||||
#[inline]
|
||||
pub fn hash(value: impl std::hash::Hash) -> u64 {
|
||||
use ahash::RandomState;
|
||||
RandomState::with_seeds(1, 2, 3, 4).hash_one(value)
|
||||
ahash::RandomState::with_seeds(1, 2, 3, 4).hash_one(value)
|
||||
}
|
||||
|
||||
/// Hash the given value with the given hasher.
|
||||
|
||||
Reference in New Issue
Block a user