File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,17 +51,15 @@ pub trait DbContext {
5151
5252 /// Get the [`Identity`] of this connection.
5353 ///
54- /// This method panics if the connection was constructed anonymously
55- /// and we have not yet received our newly-generated [`Identity`] from the host.
54+ /// This method panics if we have not yet received our [`Identity`] from the host.
5655 /// For a non-panicking version, see [`Self::try_identity`].
5756 fn identity ( & self ) -> Identity {
5857 self . try_identity ( ) . unwrap ( )
5958 }
6059
6160 /// Get the [`Identity`] of this connection.
6261 ///
63- /// This method returns `None` if the connection was constructed anonymously
64- /// and we have not yet received our newly-generated [`Identity`] from the host.
62+ /// This method returns `None` if we have not yet received our [`Identity`] from the host.
6563 /// For a panicking version, see [`Self::identity`].
6664 fn try_identity ( & self ) -> Option < Identity > ;
6765
You can’t perform that action at this time.
0 commit comments