From 692cdcffc338af9bf650208ed089032746329348 Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Mon, 23 Sep 2024 14:46:49 -0400 Subject: [PATCH] tell clippy that it's okay --- capnp-rpc/src/rpc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/capnp-rpc/src/rpc.rs b/capnp-rpc/src/rpc.rs index 785d844c6..c1a9c4ab5 100644 --- a/capnp-rpc/src/rpc.rs +++ b/capnp-rpc/src/rpc.rs @@ -1288,6 +1288,7 @@ impl ConnectionState { /// Implements exporting of a promise. The promise has been exported under the given ID, and is /// to eventually resolve to the ClientHook produced by `promise`. This method waits for that /// resolve to happen and then sends the appropriate `Resolve` message to the peer. + #[allow(clippy::await_holding_refcell_ref)] // https://github.com/rust-lang/rust-clippy/issues/6353 fn resolve_exported_promise( state: &Rc, export_id: ExportId,