From fb2b7c769fc0c0a8ef4bb615f3c4c901e7e08580 Mon Sep 17 00:00:00 2001 From: dashangcun Date: Mon, 24 Jun 2024 20:14:31 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: dashangcun --- src/auto_extension.rs | 2 +- src/params.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auto_extension.rs b/src/auto_extension.rs index b996006..62f54aa 100644 --- a/src/auto_extension.rs +++ b/src/auto_extension.rs @@ -15,7 +15,7 @@ pub type RawAutoExtension = unsafe extern "C" fn( _: *const ffi::sqlite3_api_routines, ) -> c_int; -/// Bridge bewteen `RawAutoExtension` and `AutoExtension` +/// Bridge between `RawAutoExtension` and `AutoExtension` /// /// # Safety /// * Opening a database from an auto-extension handler will lead to diff --git a/src/params.rs b/src/params.rs index f3abc82..6532f09 100644 --- a/src/params.rs +++ b/src/params.rs @@ -196,7 +196,7 @@ pub trait Params: Sealed { // 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 // 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. // // Admittedly, if we did have the generic impl, then we *wouldn't* support the