Skip to content
Closed
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 sqlx-core/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub trait Encode<'q, DB: Database> {

/// Writes the value of `self` into `buf` without moving `self`.
///
/// Where possible, make use of `encode` instead as it can take advantage of re-using
/// Where possible, make use of `encode` instead as it can take advantage of reusing
/// memory.
fn encode_by_ref(
&self,
Expand Down
2 changes: 1 addition & 1 deletion sqlx-core/src/pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! become expensive. Furthermore, sharing a database connection between threads and functions
//! can be difficult to express in Rust.
//!
//! A connection pool is a standard technique that can manage opening and re-using connections.
//! A connection pool is a standard technique that can manage opening and reusing connections.
//! Normally it also enforces a maximum number of connections as these are an expensive resource
//! on the database server.
//!
Expand Down
2 changes: 1 addition & 1 deletion sqlx-core/src/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use either::Either;
/// look at that cache in-between the statement being prepared and it being executed. This contains
/// the expected columns to be returned and the expected parameter types (if available).
///
/// Statements can be re-used with any connection and on first-use it will be re-prepared and
/// Statements can be reused with any connection and on first-use it will be re-prepared and
/// cached within the connection.
pub trait Statement: Send + Sync + Clone {
type Database: Database;
Expand Down