Skip to content

Commit

Permalink
Merge pull request #1982 from alexfertel/master-1
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia authored Aug 15, 2023
2 parents d738eb8 + 492dfd2 commit 0c7e816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ impl<P: Pixel> ImageBuffer<P, Vec<P::Subpixel>> {
///
/// # Panics
///
/// Panics when the resulting image is larger the the maximum size of a vector.
/// Panics when the resulting image is larger than the maximum size of a vector.
pub fn new(width: u32, height: u32) -> ImageBuffer<P, Vec<P::Subpixel>> {
let size = Self::image_buffer_len(width, height)
.expect("Buffer length in `ImageBuffer::new` overflows usize");
Expand Down

0 comments on commit 0c7e816

Please sign in to comment.