Remove sealed trait comments from documentation (#2740)

* Fix Row trait docs as it isn't sealed anymore

* Fix ColumnIndex trait docs as it isn't sealed anymore
This commit is contained in:
Bogdan Mircea
2023-09-12 05:03:02 +03:00
committed by GitHub
parent 4d12ca4e1d
commit 745486b485
2 changed files with 0 additions and 4 deletions

View File

@@ -28,8 +28,6 @@ pub trait Column: 'static + Send + Sync + Debug {
/// This trait is implemented for strings which are used to look up a column by name, and for
/// `usize` which is used as a positional index into the row.
///
/// This trait is sealed and cannot be implemented for types outside of SQLx.
///
/// [`Row`]: crate::row::Row
/// [`Statement`]: crate::statement::Statement
/// [`get`]: crate::row::Row::get

View File

@@ -9,8 +9,6 @@ use crate::value::ValueRef;
/// Represents a single row from the database.
///
/// This trait is sealed and cannot be implemented for types outside of SQLx.
///
/// [`FromRow`]: crate::row::FromRow
/// [`Query::fetch`]: crate::query::Query::fetch
pub trait Row: Unpin + Send + Sync + 'static {