Skip to content

Commit f221ee3

Browse files
authored
fix: violations of elided_named_lifetimes (#4936)
1 parent fb82298 commit f221ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/servers/src/mysql/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl<W: AsyncWrite + Send + Sync + Unpin> AsyncMysqlShim<W> for MysqlInstanceShi
249249
self.auth_plugin()
250250
}
251251

252-
async fn auth_plugin_for_username(&self, _user: &[u8]) -> &str {
252+
async fn auth_plugin_for_username<'a, 'user>(&'a self, _user: &'user [u8]) -> &'a str {
253253
self.auth_plugin()
254254
}
255255

0 commit comments

Comments
 (0)