Skip to content

Commit 70c01ac

Browse files
committed
comment
1 parent c2d42c5 commit 70c01ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scalar.rs

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ pub(crate) fn create_hash_fn<T: NamedDigest + Clone + UnwindSafe + RefUnwindSafe
119119

120120
pub fn create_scalar_function<F, T>(conn: &Connection, fn_name: &str, function: F) -> Result<()>
121121
where
122+
// TODO: Newer versions do not require UnwindSafe
122123
F: Fn(&Context<'_>) -> Result<T> + Send + UnwindSafe + 'static,
123124
T: ToSql,
124125
{

0 commit comments

Comments
 (0)