Skip to content

Commit 6d9b884

Browse files
Make ImageExt impl Send + Sync
1 parent 7c48dd1 commit 6d9b884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/image/grammar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl TryFrom<u8> for ColorType {
4747

4848
pub type Image = Box<dyn ImageExt>;
4949

50-
pub trait ImageExt {
50+
pub trait ImageExt: Send + Sync {
5151
fn width(&self) -> u32;
5252

5353
fn height(&self) -> u32;

0 commit comments

Comments
 (0)