Skip to content

Commit

Permalink
Remove unused lifetime definition
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jul 24, 2022
1 parent 1e04df6 commit 9d93636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/examples/custom_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn main() {
struct Customizer;

#[async_trait]
impl<'a> CustomizeConnection<CustomPostgresConnection, Error> for Customizer {
impl CustomizeConnection<CustomPostgresConnection, Error> for Customizer {
async fn on_acquire(&self, conn: &mut CustomPostgresConnection) -> Result<(), Error> {
conn.custom_state
.insert(QueryName::BasicSelect, conn.prepare("SELECT 1").await?);
Expand Down

0 comments on commit 9d93636

Please sign in to comment.