From 9a3930ba700e84ddc371b820b2bdd15e74946b3b Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 20 Apr 2024 07:53:22 +0200 Subject: [PATCH] Fix clippy warning --- libsqlite3-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsqlite3-sys/src/lib.rs b/libsqlite3-sys/src/lib.rs index 1c536d3..6b42e2a 100644 --- a/libsqlite3-sys/src/lib.rs +++ b/libsqlite3-sys/src/lib.rs @@ -18,7 +18,7 @@ pub fn SQLITE_STATIC() -> sqlite3_destructor_type { #[must_use] pub fn SQLITE_TRANSIENT() -> sqlite3_destructor_type { - Some(unsafe { mem::transmute(-1_isize) }) + Some(unsafe { mem::transmute::(-1_isize) }) } #[allow(clippy::all)]