Skip to content

Commit

Permalink
Remove deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonMc555 committed May 21, 2024
1 parent 9ab7ee4 commit be1a592
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,6 @@ impl<T> Array2D<T> {
}
}

#[deprecated(since = "0.2.0", note = "Renamed to filled_with")]
/// Renamed to filled_with.
pub fn fill_with(element: T, num_rows: usize, num_columns: usize) -> Self
where
T: Clone,
{
Array2D::filled_with(num_rows, num_columns, element)
}

/// Creates a new [`Array2D`] with the specified number of rows and columns
/// and fills each element with the result of calling the given
/// function. The function is called once for every location going in
Expand Down

0 comments on commit be1a592

Please sign in to comment.