From bc8506dfe7da788c928d82e1ce08bbfe77330658 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Tue, 25 Oct 2022 09:58:23 +0200 Subject: [PATCH] Fix reference to `Self::cipher_final` in docs This patch changes the position of backtick and square brackets so that the reference is rendered as a link in generated documentation. --- openssl/src/cipher_ctx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/cipher_ctx.rs b/openssl/src/cipher_ctx.rs index 46492566f9..8e017115b1 100644 --- a/openssl/src/cipher_ctx.rs +++ b/openssl/src/cipher_ctx.rs @@ -407,7 +407,7 @@ impl CipherCtxRef { /// Retrieves the calculated authentication tag from the context. /// - /// This should be called after `[Self::cipher_final]`, and is only supported by authenticated ciphers. + /// This should be called after [`Self::cipher_final`], and is only supported by authenticated ciphers. /// /// The size of the buffer indicates the size of the tag. While some ciphers support a range of tag sizes, it is /// recommended to pick the maximum size.