mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-17 02:32:56 +00:00
fix: violations of elided_named_lifetimes (#4936)
This commit is contained in:
@@ -249,7 +249,7 @@ impl<W: AsyncWrite + Send + Sync + Unpin> AsyncMysqlShim<W> for MysqlInstanceShi
|
||||
self.auth_plugin()
|
||||
}
|
||||
|
||||
async fn auth_plugin_for_username(&self, _user: &[u8]) -> &str {
|
||||
async fn auth_plugin_for_username<'a, 'user>(&'a self, _user: &'user [u8]) -> &'a str {
|
||||
self.auth_plugin()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user