From 59aeeb6fe4fc7307ea46dbc07ca9b7f901438f68 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 2 Jun 2025 17:25:29 +0200 Subject: [PATCH] refactor(castore/fs): stop using async move We don't move anything here. Change-Id: Ia9f345adf86be3c3f64fef0e6aca067ecbf7cf5d Reviewed-on: https://cl.snix.dev/c/snix/+/30547 Reviewed-by: Connor Brewster Autosubmit: Florian Klink Tested-by: besadii --- snix/castore/src/fs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snix/castore/src/fs/mod.rs b/snix/castore/src/fs/mod.rs index b108b0b0d..40a1148e1 100644 --- a/snix/castore/src/fs/mod.rs +++ b/snix/castore/src/fs/mod.rs @@ -255,7 +255,7 @@ where // We don't have it yet, look it up in [self.root_nodes]. match self .tokio_handle - .block_on(async move { self.root_nodes_provider.get_by_basename(name).await }) + .block_on(async { self.root_nodes_provider.get_by_basename(name).await }) { // if there was an error looking up the root node, propagate up an IO error. Err(_e) => Err(io::Error::from_raw_os_error(libc::EIO)),