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 c238a19 commit 0aaff1fCopy full SHA for 0aaff1f
async_file_cache/src/lib.rs
@@ -138,7 +138,7 @@ impl<State: CacheState> FileCache<State> {
138
} else {
139
debug!("generating {:?}", path);
140
let (tx, rx) = tokio::sync::watch::channel(());
141
- entry.insert_clone(rx);
+ entry.insert_with_key(key.clone(), rx);
142
143
let mut part_path = path.clone();
144
part_path.as_mut_os_string().push(OsString::from(".part"));
0 commit comments