File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,6 @@ impl User {
115115 !self . errs . is_empty ( )
116116 }
117117
118- /** Returns an error wrapping/representing any underlying errors that
119- have accumulated. Returns an error even if none have accumulated, so
120- it's a good idea to check with `.has_errors()` before calling this.
121- */
122118 pub fn get_errors ( & self ) -> UserError {
123119 UserError :: from_sockets ( & ( self . errs ) )
124120 }
@@ -171,9 +167,7 @@ impl User {
171167 self . socket . enqueue ( & ( msg. bytes ( ) ) ) ;
172168 }
173169
174- /** Attempt to write bytes from the outgoing buffer to the underlying
175- socket. Any errors will be added to an internal `Vec` and not returned.
176- */
170+ /// Send any data that's been queued up.
177171 pub fn send ( & mut self ) {
178172 if self . socket . send_buff_size ( ) > 0 {
179173 if let Err ( e) = self . socket . send_data ( ) {
You can’t perform that action at this time.
0 commit comments