From 7ae86ee4ea59f5c1752a0b567efe9aacd9390024 Mon Sep 17 00:00:00 2001 From: D Date: Sun, 6 Aug 2023 22:54:27 +0200 Subject: [PATCH] Added docs for UnparsedPublicKey fields. I agree to license my contributions to each file under the terms given at the top of each file I changed. --- src/agreement.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agreement.rs b/src/agreement.rs index e195b9ee80..0dc5dc1f57 100644 --- a/src/agreement.rs +++ b/src/agreement.rs @@ -202,13 +202,13 @@ impl UnparsedPublicKey { Self { algorithm, bytes } } - /// TODO: doc + /// The key agreement algorithm of the unparsed public key #[inline] pub fn algorithm(&self) -> &'static Algorithm { self.algorithm } - /// TODO: doc + /// The bytes of the unparsed public key #[inline] pub fn bytes(&self) -> &B { &self.bytes