1
0
Fork 0

io::Error::other stabilized

Zynh Ludwig 2024-08-28 19:13:24 -07:00
parent 9b6445ec84
commit 6a31c89f53
1 changed files with 0 additions and 8 deletions

View File

@ -40,14 +40,6 @@ use state::{AppState, UploadRecord};
use crate::state::AsyncRemoveRecord; use crate::state::AsyncRemoveRecord;
use crate::views::{DownloadLinkPage, HtmxPage, LinkView, Welcome}; use crate::views::{DownloadLinkPage, HtmxPage, LinkView, Welcome};
pub mod error {
use std::io::{Error, ErrorKind};
pub fn io_other(s: &str) -> Error {
Error::new(ErrorKind::Other, s)
}
}
#[tokio::main] #[tokio::main]
async fn main() -> io::Result<()> { async fn main() -> io::Result<()> {
logging::init_tracing(); logging::init_tracing();