Update postgres-types/src/lib.rs

This commit is contained in:
Steven Fackler 2020-10-27 19:16:20 -04:00 committed by GitHub
parent 996f063380
commit 46b4b8008c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,7 +960,7 @@ mod sealed {
/// A helper trait used internally by Rust-Postgres
/// to be able create a parameters iterator from `&dyn ToSql` or `T: ToSql`.
///
/// /// This cannot be implemented outside of this crate.
/// This cannot be implemented outside of this crate.
pub trait BorrowToSql: sealed::Sealed {
/// Get a reference to a `ToSql` trait object
fn borrow_to_sql(&self) -> &dyn ToSql;