mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-04 00:27:59 +01:00
Fix clippy for 1.83
This commit is contained in:
parent
241744bec6
commit
50e0f46e06
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue