mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Fixed docs
This commit is contained in:
parent
c55aba0dc1
commit
e214a08ede
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -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",
|
||||
|
@ -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>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user