forked from Zynh0722/nyazoom
io::Error::other stabilized
parent
9b6445ec84
commit
6a31c89f53
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue