Skip to content

Commit

Permalink
docs: update example for PgConnectOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko authored and abonander committed Mar 5, 2024
1 parent c78425b commit 664dbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-postgres/src/options/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mod ssl_mode;
///
/// // Change the log verbosity level for queries.
/// // Information about SQL queries is logged at `DEBUG` level by default.
/// opts.log_statements(log::LevelFilter::Trace);
/// opts = opts.log_statements(log::LevelFilter::Trace);
///
/// let pool = PgPool::connect_with(&opts).await?;
/// # }
Expand Down

0 comments on commit 664dbdf

Please sign in to comment.