mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-27 13:46:32 +00:00
Fixed docs
This commit is contained in:
@@ -42,7 +42,7 @@ pub trait Row: Unpin + Send + Sync + 'static {
|
||||
self.try_column(index).unwrap()
|
||||
}
|
||||
|
||||
/// Gets the column information at `index` or `None` if out of bounds.
|
||||
/// Gets the column information at `index` or a `ColumnIndexOutOfBounds` error if out of bounds.
|
||||
fn try_column<I>(&self, index: I) -> Result<&<Self::Database as Database>::Column, Error>
|
||||
where
|
||||
I: ColumnIndex<Self>,
|
||||
|
||||
@@ -51,7 +51,7 @@ pub trait Statement<'q>: Send + Sync {
|
||||
self.try_column(index).unwrap()
|
||||
}
|
||||
|
||||
/// Gets the column information at `index` or `None` if out of bounds.
|
||||
/// Gets the column information at `index` or a `ColumnIndexOutOfBounds` error if out of bounds.
|
||||
fn try_column<I>(&self, index: I) -> Result<&<Self::Database as Database>::Column, Error>
|
||||
where
|
||||
I: ColumnIndex<Self>,
|
||||
|
||||
Reference in New Issue
Block a user