io::Error::other stabilized

This commit is contained in:
Zynh Ludwig 2024-08-28 19:13:24 -07:00
parent 9b6445ec84
commit 6a31c89f53

View file

@ -40,14 +40,6 @@ use state::{AppState, UploadRecord};
use crate::state::AsyncRemoveRecord;
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]
async fn main() -> io::Result<()> {
logging::init_tracing();