From b8b82c3ea4ec154581f57b0d00f08f2fd1d871ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 1 Jul 2022 15:28:06 +0200 Subject: chore: use Rust 1.62.0 (#15028) --- ext/ffi/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/ffi') diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index ca02aca5b..17ebf772b 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -573,9 +573,8 @@ where // By default, Err returned by this function does not tell // which symbol wasn't exported. So we'll modify the error // message to include the name of symbol. - // - // SAFETY: The obtained T symbol is the size of a pointer. let fn_ptr = + // SAFETY: The obtained T symbol is the size of a pointer. match unsafe { resource.lib.symbol::<*const c_void>(symbol) } { Ok(value) => Ok(value), Err(err) => Err(generic_error(format!( -- cgit v1.2.3