mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_ws: fix some clippy warnings
This commit is contained in:
parent
8fc09cb130
commit
aabdf76a5d
3 changed files with 21 additions and 25 deletions
|
|
@ -222,7 +222,7 @@ impl Connection {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_established_ws<'a>(&mut self) -> Option<&mut EstablishedWs> {
|
||||
pub fn get_established_ws(&mut self) -> Option<&mut EstablishedWs> {
|
||||
match self.inner {
|
||||
Either::Left(ref mut ews) => Some(ews),
|
||||
Either::Right(_) => None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue