From d72bc0fc6f2bb7ab1816b7f37d498e545fb23371 Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Thu, 24 Sep 2020 17:51:25 -0700 Subject: [PATCH] Remove obsolete mention of connection driver --- quinn/src/connection.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/quinn/src/connection.rs b/quinn/src/connection.rs index caf42b740..d7c663c11 100644 --- a/quinn/src/connection.rs +++ b/quinn/src/connection.rs @@ -293,10 +293,9 @@ where /// A QUIC connection. /// /// If all references to a connection (including every clone of the `Connection` handle, streams of -/// incoming streams, and the various stream types) other than the `ConnectionDriver` have been -/// dropped, then the connection will be automatically closed with an `error_code` of 0 and an -/// empty `reason`. You can also close the connection explicitly by calling -/// [`Connection::close()`]. +/// incoming streams, and the various stream types) have been dropped, then the connection will be +/// automatically closed with an `error_code` of 0 and an empty `reason`. You can also close the +/// connection explicitly by calling [`Connection::close()`]. /// /// May be cloned to obtain another handle to the same connection. ///