mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
Fix cargo clippy and doc errors after Rust update to 1.66
This commit is contained in:
@@ -746,7 +746,7 @@ mod tests {
|
||||
assert!(file_size(&avatar_blob).await <= 3000);
|
||||
assert!(file_size(&avatar_blob).await > 2000);
|
||||
tokio::task::block_in_place(move || {
|
||||
let img = image::open(&avatar_blob).unwrap();
|
||||
let img = image::open(avatar_blob).unwrap();
|
||||
assert!(img.width() > 130);
|
||||
assert_eq!(img.width(), img.height());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user