Skip to content

Commit

Permalink
Relax callback trait requirement (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Feb 11, 2025
1 parent c1a6c4e commit 7f6337e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sqlite3 := 'sqlite3'
clean:
cargo clean

# Update dependencies, including breaking changes
update:
cargo +nightly -Z unstable-options update --breaking
cargo update
Expand Down
2 changes: 1 addition & 1 deletion src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub(crate) fn create_hash_fn<T: NamedDigest + Clone + UnwindSafe + RefUnwindSafe

pub fn create_scalar_function<F, T>(conn: &Connection, fn_name: &str, function: F) -> Result<()>
where
F: Fn(&Context<'_>) -> Result<T> + Send + UnwindSafe + 'static,
F: Fn(&Context<'_>) -> Result<T> + Send + 'static,
T: ToSql,
{
trace!("Registering function {fn_name}");
Expand Down

0 comments on commit 7f6337e

Please sign in to comment.