mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 04:52:26 -05:00
update copyright
This commit is contained in:
parent
c38dd37edd
commit
9d208ba33d
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
// Copyright 2018-2025 the Deno authors. MIT license.
|
||||
|
||||
use bytemuck::cast_slice;
|
||||
use bytemuck::cast_slice_mut;
|
||||
|
@ -570,9 +570,10 @@ pub(crate) fn create_image_from_raw_bytes(
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use image::Rgba;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_premultiply_alpha() {
|
||||
let rgba = Rgba::<u8>([255, 128, 0, 128]);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
// Copyright 2018-2025 the Deno authors. MIT license.
|
||||
|
||||
use std::io::BufReader;
|
||||
use std::io::Cursor;
|
||||
|
|
Loading…
Add table
Reference in a new issue