commit | e1a860c3745c77cb83228dde1b73fa62eaf43930 | [log] [tgz] |
---|---|---|
author | Maurice Lam <yukl@google.com> | Tue Jun 04 23:03:52 2024 +0000 |
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 05 02:19:03 2024 +0000 |
tree | 0f98463d3193a10a6a3af824667d15fd2b03373d | |
parent | fb1c75caf8ba5d45a0f2c52facd36e4ad9289549 [diff] |
Add missing trait "use" in doc tests Change-Id: I27d64f8f1654ed0399c09c48b9c41e84aac1aa3a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/69047 Reviewed-by: Adam Langley <agl@google.com> Commit-Queue: Adam Langley <agl@google.com>
diff --git a/rust/bssl-crypto/src/digest.rs b/rust/bssl-crypto/src/digest.rs index 59d3b2a..d3d74c0 100644 --- a/rust/bssl-crypto/src/digest.rs +++ b/rust/bssl-crypto/src/digest.rs
@@ -16,7 +16,7 @@ //! Hash functions. //! //! ``` -//! use bssl_crypto::digest; +//! use bssl_crypto::digest::{self, Algorithm, WithOutputLength}; //! //! // One-shot hashing. //! let digest: [u8; 32] = digest::Sha256::hash(b"hello");