Skip to content

Commit 1357fc6

Browse files
committed
use anyhow
1 parent 059cf7d commit 1357fc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test_utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use std::path::Path;
1010
use std::sync::{Arc, LazyLock};
1111
use std::time::{Duration, Instant};
1212

13+
use anyhow::Result;
1314
use async_channel::{self as channel, Receiver, Sender};
1415
use chat::ChatItem;
1516
use deltachat_contact_tools::{ContactAddress, EmailAddress};
@@ -1729,7 +1730,7 @@ Until the false-positive is fixed:
17291730
}
17301731

17311732
/// Method to create a test image file
1732-
pub(crate) fn create_test_image(width: u32, height: u32) -> anyhow::Result<Vec<u8>> {
1733+
pub(crate) fn create_test_image(width: u32, height: u32) -> Result<Vec<u8>> {
17331734
use image::{ImageBuffer, Rgb, RgbImage};
17341735
use std::io::Cursor;
17351736

0 commit comments

Comments
 (0)