Skip to content
Snippets Groups Projects
Unverified Commit 18b73ee7 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

fix doc test for `timeit`

parent fa41be00
No related branches found
No related tags found
No related merge requests found
Pipeline #4929 passed
......@@ -61,6 +61,7 @@ where
///
/// # Example
/// ```rust
/// # use plnk::timeit;
/// let t = timeit(|| 1 + 2);
/// ```
pub fn timeit<F, O>(mut f: F) -> Duration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment