mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-31 23:49:28 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user