mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-04 16:48:00 +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>;
|
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 {
|
pub fn load(env: Env, _: Term) -> bool {
|
||||||
rustler::resource!(WriterResource, env);
|
rustler::resource!(WriterResource, env);
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue