Skip to content

Commit

Permalink
Update core/tauri/src/image.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Feb 28, 2024
1 parent d2b545f commit b931daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tauri/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Image<'a> {
}

impl<'a> Image<'a> {
/// Creates a new Image using RGBA data, in row-major order from top to bottom, and with specified height and width.
/// Creates a new Image using RGBA data, in row-major order from top to bottom, and with specified width and height.
pub const fn new(rgba: &'a [u8], width: u32, height: u32) -> Self {
Self {
rgba: Cow::Borrowed(rgba),
Expand Down

0 comments on commit b931daf

Please sign in to comment.