Skip to content

Commit 1896570

Browse files
authored
Remove comments about concat_idents!
1 parent 2ce0fb6 commit 1896570

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cast.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,6 @@ macro_rules! impl_num_cast {
792792
impl NumCast for $T {
793793
#[inline]
794794
fn from<N: ToPrimitive>(n: N) -> Option<$T> {
795-
// `$conv` could be generated using `concat_idents!`, but that
796-
// macro seems to be broken at the moment
797795
n.$conv()
798796
}
799797
}
@@ -820,8 +818,6 @@ macro_rules! impl_num_cast_nonzero {
820818
impl NumCast for $T {
821819
#[inline]
822820
fn from<N: ToPrimitive>(n: N) -> Option<$T> {
823-
// `$conv` could be generated using `concat_idents!`, but that
824-
// macro seems to be broken at the moment
825821
n.$conv().and_then(Self::new)
826822
}
827823
}

0 commit comments

Comments
 (0)