Skip to content

Commit

Permalink
Remove sealed trait comments from documentation (#2740)
Browse files Browse the repository at this point in the history
* Fix Row trait docs as it isn't sealed anymore

* Fix ColumnIndex trait docs as it isn't sealed anymore
  • Loading branch information
bobozaur authored Sep 12, 2023
1 parent 4d12ca4 commit 745486b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions sqlx-core/src/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions sqlx-core/src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 745486b

Please sign in to comment.