diff options
author | Maurice Lam <yukl@google.com> | 2024-06-04 23:03:52 +0000 |
---|---|---|
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-06-05 02:19:03 +0000 |
commit | e1a860c3745c77cb83228dde1b73fa62eaf43930 (patch) | |
tree | 0f98463d3193a10a6a3af824667d15fd2b03373d /rust | |
parent | fb1c75caf8ba5d45a0f2c52facd36e4ad9289549 (diff) | |
download | boringssl-e1a860c3745c77cb83228dde1b73fa62eaf43930.zip boringssl-e1a860c3745c77cb83228dde1b73fa62eaf43930.tar.gz boringssl-e1a860c3745c77cb83228dde1b73fa62eaf43930.tar.bz2 |
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>
Diffstat (limited to 'rust')
-rw-r--r-- | rust/bssl-crypto/src/digest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |