Skip to content

Commit 8b9c393

Browse files
Remove extra crate:: qualifiers
1 parent 72ac9af commit 8b9c393

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ async fn main() {
7979
bust_dir: bust_dir.into(),
8080
};
8181

82-
let cache_none = axum::middleware::from_fn(crate::cache_none);
83-
let cache_medium = axum::middleware::from_fn(crate::cache_medium);
84-
let cache_max = axum::middleware::from_fn(crate::cache_max);
85-
let noindex = axum::middleware::from_fn(crate::noindex);
82+
let cache_none = axum::middleware::from_fn(cache_none);
83+
let cache_medium = axum::middleware::from_fn(cache_medium);
84+
let cache_max = axum::middleware::from_fn(cache_max);
85+
let noindex = axum::middleware::from_fn(noindex);
8686

8787
let serve_dir_raw = ServeDir::new(&asset_dir)
8888
.append_index_html_on_directories(true)

0 commit comments

Comments
 (0)