mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
chore: Clippy fixes
This commit is contained in:
1 parent
18b0a87b2d
commit
eadcea8034
14 files changed
+66
-52
No files matched your search
@@ -136,14 +136,14 @@ impl Service {
|
||||
|
||||
/// Returns a stack with info on shortstatehash, full state, added diff and
|
||||
/// removed diff for the selected shortstatehash and each parent layer.
|
||||
async fn cache_shortstatehash_info(
|
||||
fn cache_shortstatehash_info(
|
||||
&self,
|
||||
shortstatehash: ShortStateHash,
|
||||
stack: ShortStateInfoVec,
|
||||
) -> Result {
|
||||
) -> impl Future<Output = Result> {
|
||||
self.stateinfo_cache.lock().insert(shortstatehash, stack);
|
||||
|
||||
Ok(())
|
||||
std::future::ready(Ok(()))
|
||||
}
|
||||
|
||||
/// Inserts a new shortstatehash info entry.
|
||||
|
||||
Reference in new issue
Block a user