Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
//! ).await?;
//!
//! // Dropped connection will go to the pool
//! conn;
//! drop(conn);
//!
//! // Pool must be disconnected explicitly because
//! // it's an asynchronous operation.
Expand Down
2 changes: 1 addition & 1 deletion src/local_infile_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod builtin;
/// assert_eq!(result.len(), 1);
/// assert_eq!(result[0], "foobar");
///
/// conn; // dropped connection will go to the pool
/// drop(conn); // dropped connection will go to the pool
///
/// pool.disconnect().await?;
/// # Ok(())
Expand Down