criterion.rs icon indicating copy to clipboard operation
criterion.rs copied to clipboard

book: fix an example of throughput measurements

Open loloicci opened this issue 2 months ago • 0 comments

This PR fixes a mistake in an example of throughput measurements in the book.

In an example code of throughput measurements,

  1. elems is used before it is defined. This seems to be a mistake for elements.
  2. the arguments of the third parameter bench_with_input is elem, b. It seems to be a mistake for b, elem

loloicci avatar Apr 11 '24 03:04 loloicci