You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/combinations_with_replacement.rs
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
#[cfg(feature = "use_alloc")]
2
1
use alloc::boxed::Box;
3
2
use std::fmt;
4
3
use std::iter::FusedIterator;
@@ -22,7 +21,6 @@ where
22
21
first:bool,
23
22
}
24
23
25
-
#[cfg(feature = "use_alloc")]
26
24
/// Iterator for `Box<[I]>` valued combinations_with_replacement returned by [`.combinations_with_replacement()`](crate::Itertools::combinations_with_replacement)
/// Iterator for const generic combinations_with_replacement returned by [`.array_combinations_with_replacement()`](crate::Itertools::array_combinations_with_replacement)
@@ -47,7 +45,6 @@ where
47
45
{
48
46
ArrayCombinationsWithReplacement::new(iter,[0;K])
49
47
}
50
-
#[cfg(feature = "use_alloc")]
51
48
/// Create a new `CombinationsWithReplacement` from a clonable iterator.
0 commit comments