mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-02 04:12:59 +08:00
chore: fix some comments
Signed-off-by: dashangcun <jchaodaohang@foxmail.com>
This commit is contained in:
parent
0d3677ecce
commit
fb2b7c769f
@ -15,7 +15,7 @@ pub type RawAutoExtension = unsafe extern "C" fn(
|
|||||||
_: *const ffi::sqlite3_api_routines,
|
_: *const ffi::sqlite3_api_routines,
|
||||||
) -> c_int;
|
) -> c_int;
|
||||||
|
|
||||||
/// Bridge bewteen `RawAutoExtension` and `AutoExtension`
|
/// Bridge between `RawAutoExtension` and `AutoExtension`
|
||||||
///
|
///
|
||||||
/// # Safety
|
/// # Safety
|
||||||
/// * Opening a database from an auto-extension handler will lead to
|
/// * Opening a database from an auto-extension handler will lead to
|
||||||
|
@ -196,7 +196,7 @@ pub trait Params: Sealed {
|
|||||||
// forces people to use `params![...]` or `rusqlite::params_from_iter` for long
|
// forces people to use `params![...]` or `rusqlite::params_from_iter` for long
|
||||||
// homogeneous lists of parameters. This is not that big of a deal, but is
|
// homogeneous lists of parameters. This is not that big of a deal, but is
|
||||||
// unfortunate, especially because I mostly did it because I wanted a simple
|
// unfortunate, especially because I mostly did it because I wanted a simple
|
||||||
// syntax for no-params that didnt require importing -- the empty tuple fits
|
// syntax for no-params that didn't require importing -- the empty tuple fits
|
||||||
// that nicely, but I didn't think of it until much later.
|
// that nicely, but I didn't think of it until much later.
|
||||||
//
|
//
|
||||||
// Admittedly, if we did have the generic impl, then we *wouldn't* support the
|
// Admittedly, if we did have the generic impl, then we *wouldn't* support the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user