Fixed docs

This commit is contained in:
Vraj Shah
2023-11-25 10:11:00 -05:00
parent c55aba0dc1
commit e214a08ede
3 changed files with 4 additions and 4 deletions

View File

@@ -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>,

View File

@@ -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>,