io::Error::other stabilized
This commit is contained in:
parent
9b6445ec84
commit
6a31c89f53
1 changed files with 0 additions and 8 deletions
|
@ -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 a new issue