From 7bd92f65aa1d99786f1f4b92f35d9fe25764ebf9 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 20 Oct 2023 22:17:39 +0200 Subject: [PATCH] Avoid redundant link target in docs --- quinn/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn/src/connection.rs b/quinn/src/connection.rs index d975fd02f..848f04618 100644 --- a/quinn/src/connection.rs +++ b/quinn/src/connection.rs @@ -490,7 +490,7 @@ impl Connection { /// /// The dynamic type returned is determined by the configured /// [`Session`](proto::crypto::Session). For the default `rustls` session, the return value can - /// be [`downcast`](Box::downcast) to a Vec<[rustls::Certificate](rustls::Certificate)> + /// be [`downcast`](Box::downcast) to a Vec<[rustls::Certificate]> pub fn peer_identity(&self) -> Option> { self.0 .state