Skip to content

Commit

Permalink
Ignore 2 doc tests as they are private again.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVeryDarkness committed Aug 30, 2024
1 parent 389ba01 commit ad09e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a, T, const N: usize> ArrayGuard<'a, T, N> {
///
/// # Examples
///
/// ```rust
/// ```rust,ignore
/// use iof::array_from_fn;
/// let array: [String; 3] = array_from_fn(|| "hello".to_string());
/// assert_eq!(array[0], "hello");
Expand All @@ -79,7 +79,7 @@ pub fn array_from_fn<T, const N: usize>(mut f: impl FnMut() -> T) -> [T; N] {
///
/// # Examples
///
/// ```rust
/// ```rust,ignore
/// use iof::array_try_from_fn;
/// let array: Result<[String; 3], ()> = array_try_from_fn(|| Ok("hello".to_string()));
/// assert_eq!(array, Ok(["hello", "hello", "hello"]));
Expand Down

0 comments on commit ad09e2c

Please sign in to comment.