diff --git a/ext/node/ops/crypto/digest/ring_sha2.rs b/ext/node/ops/crypto/digest/ring_sha2.rs index 194bb6d3748e1a..b1d353088bfbf5 100644 --- a/ext/node/ops/crypto/digest/ring_sha2.rs +++ b/ext/node/ops/crypto/digest/ring_sha2.rs @@ -1,6 +1,9 @@ -use digest::generic_array::ArrayLength; +// Copyright 2018-2025 the Deno authors. MIT license. + use std::marker::PhantomData; +use digest::generic_array::ArrayLength; + pub trait RingDigestAlgo { fn algorithm() -> &'static ring::digest::Algorithm; type OutputSize: ArrayLength + 'static;