summaryrefslogtreecommitdiff
path: root/ext/node/ops/crypto/digest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/ops/crypto/digest.rs')
-rw-r--r--ext/node/ops/crypto/digest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/ops/crypto/digest.rs b/ext/node/ops/crypto/digest.rs
index 588ea7425..e3a91e338 100644
--- a/ext/node/ops/crypto/digest.rs
+++ b/ext/node/ops/crypto/digest.rs
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use deno_core::error::generic_error;
use deno_core::error::AnyError;
-use deno_core::GcResource;
+use deno_core::GarbageCollected;
use digest::Digest;
use digest::DynDigest;
use digest::ExtendableOutput;
@@ -13,7 +13,7 @@ pub struct Hasher {
pub hash: Rc<RefCell<Option<Hash>>>,
}
-impl GcResource for Hasher {}
+impl GarbageCollected for Hasher {}
impl Hasher {
pub fn new(