Skip to content

Conversation

@alexrudy
Copy link
Owner

In the graceful shutdown implementation, the connection future was
unnecessarily re-borrowed as &mut conn.as_mut(), which can be
simplified to conn.as_mut(), since the receiver of the future is
expecting a Pin<&mut ...> type.

Nits: Fixes missing #cfg directives for imports in src/info/mod.rs

In the graceful shutdown implementation, the connection future was
unnecessarily re-borrowed as `&mut conn.as_mut()`, which can be
simplified to `conn.as_mut()`, since the receiver of the future is
expecting a `Pin<&mut ...>` type.

Nits: Fixes missing #cfg directives for imports in `src/info/mod.rs`
@alexrudy alexrudy merged commit b63b435 into main Jul 25, 2024
@alexrudy alexrudy deleted the bugfix/server-select-conn branch October 9, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants