Skip to content

Commit 83a9993

Browse files
sunny-gfilmor
authored andcommitted
more clippy
1 parent 241734d commit 83a9993

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rustler/src/schedule.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ pub enum Schedule<N: crate::Nif, T, A = (), B = (), C = (), D = (), E = (), F =
7070
macro_rules! impl_funcs {
7171
($variant:ident $func_name:ident($($arg:ident : $ty:ty,)*)) => {
7272
impl<N: crate::Nif, T, A, B, C, D, E, F, G> Schedule<N, T, A, B, C, D, E, F, G> {
73+
#[allow(clippy::many_single_char_names)]
7374
#[inline]
7475
pub fn $func_name($($arg: $ty),*) -> Self {
7576
Self::$variant(PhantomData, $($arg),*)
7677
}
7778
}
7879

7980
impl<N: crate::Nif, T, A, B, C, D, E, F, G> From<($($ty),*)> for Schedule<N, T, A, B, C, D, E, F, G> {
81+
#[allow(clippy::many_single_char_names)]
8082
#[inline]
8183
fn from(($($arg),*): ($($ty),*)) -> Self {
8284
Self::$variant(PhantomData, $($arg),*)

0 commit comments

Comments
 (0)