diff options
author | 2024-03-30 23:49:26 +0100 | |
---|---|---|
committer | 2024-03-30 23:49:26 +0100 | |
commit | c7a4fad4a24dec8536f450d447a9852846f2d711 (patch) | |
tree | bcdf3d450dcaaf445a237d9dfac646dee78e838e /core/src | |
parent | 5071e3d231699f67347a11b829cc8c9e50e54370 (diff) | |
parent | 4c74bebc708f960f77d53526e7da4187f56967c9 (diff) | |
download | iced-c7a4fad4a24dec8536f450d447a9852846f2d711.tar.gz iced-c7a4fad4a24dec8536f450d447a9852846f2d711.tar.bz2 iced-c7a4fad4a24dec8536f450d447a9852846f2d711.zip |
Merge pull request #2357 from iced-rs/wgpu/use-staging-belt
Use a `StagingBelt` in `iced_wgpu` for regular buffer uploads
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/hasher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/hasher.rs b/core/src/hasher.rs index a13d78af..13180e41 100644 --- a/core/src/hasher.rs +++ b/core/src/hasher.rs @@ -1,7 +1,7 @@ /// The hasher used to compare layouts. #[allow(missing_debug_implementations)] // Doesn't really make sense to have debug on the hasher state anyways. #[derive(Default)] -pub struct Hasher(xxhash_rust::xxh3::Xxh3); +pub struct Hasher(rustc_hash::FxHasher); impl core::hash::Hasher for Hasher { fn write(&mut self, bytes: &[u8]) { |