Skip to content

Commit

Permalink
fix: violations of elided_named_lifetimes (#4936)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu authored Nov 4, 2024
1 parent fb82298 commit f221ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/servers/src/mysql/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit f221ee3

Please sign in to comment.