Skip to content

Commit

Permalink
Merge branch 'staticdir' of https://github.com/chrislearn/salvo into …
Browse files Browse the repository at this point in the history
…staticdir
  • Loading branch information
chrislearn committed Nov 26, 2023
2 parents 7704c4a + 9b76b06 commit af1132a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/core/src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ pub trait HttpConnection {
// }
// }


#[doc(hidden)]
pub fn parse_accept_encoding(header: &str) -> Vec<(String, u8)> {
let mut vec = header
Expand Down
2 changes: 1 addition & 1 deletion crates/serve-static/src/dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use std::collections::{HashMap, HashSet};
use std::ffi::OsStr;
use std::fmt::{self, Write, Display};
use std::fmt::{self, Display, Write};
use std::fs::Metadata;
use std::path::{Path, PathBuf};
use std::str::FromStr;
Expand Down

0 comments on commit af1132a

Please sign in to comment.