From 6a31c89f5393184dde5bb9e8db46f28d07723403 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 28 Aug 2024 19:13:24 -0700 Subject: [PATCH] io::Error::other stabilized --- src/main.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index f7a7bf6..e7cf361 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();