From cb8573dc0d2024a772b614b2b5632912277cd3d1 Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Wed, 21 Dec 2022 07:11:23 +0800 Subject: [PATCH] chore: update to Rust 1.66.0 (#1156) --- rust-toolchain.toml | 2 +- src/external.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c032b573..d1df584a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.65.0" +channel = "1.66.0" components = ["rustfmt", "clippy"] diff --git a/src/external.rs b/src/external.rs index fffcdd22..f5f628e4 100644 --- a/src/external.rs +++ b/src/external.rs @@ -17,6 +17,7 @@ extern "C" { impl External { #[inline(always)] + #[allow(clippy::not_unsafe_ptr_arg_deref)] pub fn new<'s>( scope: &mut HandleScope<'s, ()>, value: *mut c_void,