We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059cf7d commit 1357fc6Copy full SHA for 1357fc6
src/test_utils.rs
@@ -10,6 +10,7 @@ use std::path::Path;
10
use std::sync::{Arc, LazyLock};
11
use std::time::{Duration, Instant};
12
13
+use anyhow::Result;
14
use async_channel::{self as channel, Receiver, Sender};
15
use chat::ChatItem;
16
use deltachat_contact_tools::{ContactAddress, EmailAddress};
@@ -1729,7 +1730,7 @@ Until the false-positive is fixed:
1729
1730
}
1731
1732
/// Method to create a test image file
-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>> {
1734
use image::{ImageBuffer, Rgb, RgbImage};
1735
use std::io::Cursor;
1736
0 commit comments