From 0bcdd0ea7e213e87d6ef11a1980c2f75213d4c2b Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 11 Dec 2023 17:19:17 +0000 Subject: [PATCH] the fix --- repro-problem/src/virtual_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repro-problem/src/virtual_file.rs b/repro-problem/src/virtual_file.rs index 1d306a4e14..79d84ba821 100644 --- a/repro-problem/src/virtual_file.rs +++ b/repro-problem/src/virtual_file.rs @@ -689,7 +689,7 @@ impl AsRef for FileGuard<'static> { } } -impl<'a> FileGuard<'a> { +impl FileGuard<'static> { // TODO: switch to tokio-epoll-uring native operations. #[deprecated] fn with_std_file(&mut self, with: F) -> R