Skip to content

Commit 4d03ed8

Browse files
committed
Fix another needless_lifetimes
1 parent b13052a commit 4d03ed8

File tree

1 file changed

+1
-1
lines changed
  • tokio-postgres/tests/test/types

1 file changed

+1
-1
lines changed

tokio-postgres/tests/test/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ async fn domain() {
509509
to_sql_checked!();
510510
}
511511

512-
impl<'a> FromSql<'a> for SessionId {
512+
impl FromSql<'_> for SessionId {
513513
fn from_sql(ty: &Type, raw: &[u8]) -> result::Result<Self, Box<dyn Error + Sync + Send>> {
514514
Vec::<u8>::from_sql(ty, raw).map(SessionId)
515515
}

0 commit comments

Comments
 (0)