Skip to content

Commit 32e6a70

Browse files
committed
Clean up batch_execute example a bit
1 parent 60e16d3 commit 32e6a70

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,8 @@ impl PostgresConnection {
884884
///
885885
/// # Example
886886
///
887-
/// ```rust
887+
/// ```rust,no_run
888888
/// # use postgres::{PostgresConnection, PostgresResult};
889-
///
890889
/// fn init_db(conn: &PostgresConnection) -> PostgresResult<()> {
891890
/// static INIT_DB: &'static str = "
892891
/// CREATE TABLE person (

0 commit comments

Comments
 (0)