We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba36df6 commit 430cb7fCopy full SHA for 430cb7f
examples/server_fns_axum/src/app.rs
@@ -432,7 +432,7 @@ pub fn FileUploadWithProgress() -> impl IntoView {
432
rx: Receiver<usize>,
433
}
434
435
- static FILES: Lazy<DashMap<String, File>> = Lazy::new(DashMap::new);
+ static FILES: LazyLock<DashMap<String, File>> = LazyLock::new(DashMap::new);
436
437
pub async fn add_chunk(filename: &str, len: usize) {
438
println!("[{filename}]\tadding {len}");
0 commit comments