Fix clippy for 1.83

This commit is contained in:
Liam 2024-12-01 15:14:58 -05:00
parent 241744bec6
commit 50e0f46e06

View file

@ -18,6 +18,8 @@ pub struct WriterResource {
pub type WriterResourceArc = ResourceArc<WriterResource>;
// 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