Removed some unused imports

docs
Emi Tatsuo 2 years ago
parent 27f3f2aee0
commit 7dff9674b6
Signed by: Emi
GPG Key ID: 68FAB2E2E6DFC98B

@ -5,7 +5,6 @@
#[cfg(feature="serve_dir")]
use std::path::{Path, PathBuf};
use anyhow::*;
#[cfg(feature="serve_dir")]
use tokio::{
fs::{self, File},
@ -15,8 +14,6 @@ use tokio::{
use crate::types::{Document, document::HeadingLevel::*};
#[cfg(feature="serve_dir")]
use crate::types::Response;
use std::future::Future;
use tokio::time;
#[cfg(feature="serve_dir")]
pub async fn serve_file<P: AsRef<Path>>(path: P, mime: &str) -> Response {

Loading…
Cancel
Save