From 50e0f46e06653f1576c3d053f843acf515e382fb Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 1 Dec 2024 15:14:58 -0500 Subject: [PATCH] Fix clippy for 1.83 --- native/philomena/src/zip.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/philomena/src/zip.rs b/native/philomena/src/zip.rs index 60ef15be..47fd4977 100644 --- a/native/philomena/src/zip.rs +++ b/native/philomena/src/zip.rs @@ -18,6 +18,8 @@ pub struct WriterResource { pub type WriterResourceArc = ResourceArc; +// TODO: rustler must fix the resource macro to provide a top-level impl definiton +#[allow(non_local_definitions)] pub fn load(env: Env, _: Term) -> bool { rustler::resource!(WriterResource, env); true