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