Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed Feb 13, 2024
1 parent 39e0106 commit 5addb9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions rustler/src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ macro_rules! impls {
($($variant:ident $func_name:ident($($arg:ident : $ty:ty,)*);)*) => {
impl<N: crate::Nif, T, A, B, C, D, E, F, G> Schedule<N, T, A, B, C, D, E, F, G> {
$(#[allow(clippy::many_single_char_names)]
#[allow(clippy::too_many_arguments)]
#[inline]
pub fn $func_name(flags: SchedulerFlags, $($arg: $ty),*) -> Self {
Self::$variant(PhantomData, flags, $($arg),*)
Expand Down
2 changes: 1 addition & 1 deletion rustler_tests/native/rustler_test/src/test_schedule.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use rustler::{reschedule, Schedule, SchedulerFlags};

#[rustler::nif]
fn scheduled_fac<'a>(
fn scheduled_fac(
input: u8,
result: Option<u32>,
) -> Schedule<scheduled_fac, u32, u8, Option<u32>> {
Expand Down

0 comments on commit 5addb9f

Please sign in to comment.