diff --git a/sqlx-core/src/encode.rs b/sqlx-core/src/encode.rs index 173c283e73..5d7ebc5dd4 100644 --- a/sqlx-core/src/encode.rs +++ b/sqlx-core/src/encode.rs @@ -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, diff --git a/sqlx-core/src/pool/mod.rs b/sqlx-core/src/pool/mod.rs index f11ff1d76a..36011f0af6 100644 --- a/sqlx-core/src/pool/mod.rs +++ b/sqlx-core/src/pool/mod.rs @@ -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. //! diff --git a/sqlx-core/src/statement.rs b/sqlx-core/src/statement.rs index 92ae8a629e..9b1806c2df 100644 --- a/sqlx-core/src/statement.rs +++ b/sqlx-core/src/statement.rs @@ -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;