Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59baaf3

Browse files
Update bench_specializations! documentation
1 parent f678ef4 commit 59baaf3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

benches/specializations.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ use itertools::Itertools;
44
/// Create multiple functions each defining a benchmark group about iterator methods.
55
///
66
/// Each created group has functions with the following ids:
7-
/// `next`, `size_hint`, `count`, `last`, `nth`, `collect`, `fold`.
87
///
9-
/// Note that it can be called only once.
8+
/// - `next`, `size_hint`, `count`, `last`, `nth`, `collect`, `fold`
9+
/// - and when marked as `DoubleEndedIterator`: `next_back`, `rfold`
10+
/// - and when marked as `ExactSizeIterator`: `len`
11+
///
12+
/// Note that this macro can be called only once.
1013
macro_rules! bench_specializations {
1114
(
1215
$(

0 commit comments

Comments
 (0)