mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
refactor(mysql): remove unused close! macro
This commit is contained in:
parent
366741fe0f
commit
424d4b7aa1
@ -213,13 +213,3 @@ impl<Rt: Runtime> MySqlStream<Rt> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! close {
|
||||
(@blocking $self:ident) => {
|
||||
$self.close_blocking()?
|
||||
};
|
||||
|
||||
($self:ident) => {
|
||||
$self.close_async().await?
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user