Skip to content

Commit 4e1ed7c

Browse files
committed
Address a lint
1 parent 984594f commit 4e1ed7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/elliptic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ macro_rules! define_method {
1515
(@first_kc $name:ident -> $backend:ident($($argument:ident),*)) => {
1616
#[inline]
1717
fn $name(self, $($argument: Self,)*) -> Self {
18-
debug_assert!(self > 0.0, concat!("m (self) cannot be less than 1"));
18+
debug_assert!(self > 0.0, "m (self) cannot be less than 1");
1919
ellip::$backend((1.0 - self).sqrt(), $($argument,)*).unwrap()
2020
}
2121
};
2222
(@second_kc $name:ident -> $backend:ident($x:ident $(, $argument:ident)*)) => {
2323
#[inline]
2424
fn $name(self, $x: Self, $($argument: Self,)*) -> Self {
25-
debug_assert!(self > 0.0, concat!("m (self) cannot be less than 1"));
25+
debug_assert!(self > 0.0, "m (self) cannot be less than 1");
2626
ellip::$backend($x, (1.0 - self).sqrt(), $($argument,)*).unwrap()
2727
}
2828
};

0 commit comments

Comments
 (0)