mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Get rid of mod.rs files.
Since Rust 2018 [1] it is no longer required to move module code to `mod.rs` when submodules are added. This eliminates common problem of having multiple buffers named `mod.rs` in editor. [1] https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html#no-more-modrs
This commit is contained in:
@@ -755,7 +755,7 @@ mod test {
|
||||
let t = TestContext::new().await;
|
||||
|
||||
let avatar_src = t.dir.path().join("avatar.png");
|
||||
let avatar_bytes = include_bytes!("../../test-data/image/avatar64x64.png");
|
||||
let avatar_bytes = include_bytes!("../test-data/image/avatar64x64.png");
|
||||
File::create(&avatar_src)
|
||||
.await
|
||||
.unwrap()
|
||||
Reference in New Issue
Block a user