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

4
Cargo.lock generated
View File

@ -1876,9 +1876,9 @@ dependencies = [
[[package]]
name = "libsqlite3-sys"
version = "0.26.0"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
checksum = "cf4e226dcd58b4be396f7bd3c20da8fdee2911400705297ba7d2d7cc2c30f716"
dependencies = [
"cc",
"pkg-config",

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