From 9e6917426a2c6862a15aa27fd9f26b07c96ca14d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 7 Sep 2022 15:06:18 -0400 Subject: fix: upgrade deno_ast to 0.19 (#15808) --- cli/cache/common.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/cache/common.rs') diff --git a/cli/cache/common.rs b/cli/cache/common.rs index d1578ce8d..94fe383a5 100644 --- a/cli/cache/common.rs +++ b/cli/cache/common.rs @@ -34,6 +34,14 @@ impl FastInsecureHasher { self } + pub fn write_hashable( + &mut self, + hashable: &impl std::hash::Hash, + ) -> &mut Self { + hashable.hash(&mut self.0); + self + } + pub fn finish(&self) -> u64 { self.0.finish() } -- cgit v1.2.3