clippy fixes and env docs update

This commit is contained in:
realaravinth
2021-08-08 18:29:17 +05:30
parent 65ffc37549
commit a5558e4b6f
6 changed files with 49 additions and 47 deletions

View File

@@ -24,7 +24,7 @@ impl FileMap {
#[allow(clippy::new_without_default)]
pub fn new() -> Self {
let map = include_str!("../cache_buster_data.json");
let files = Files::new(&map);
let files = Files::new(map);
Self { files }
}
pub fn get<'a>(&'a self, path: &'a str) -> Option<&'a str> {