From eeadffa636b2fe9b0319afff493d5273426ad8a5 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Mon, 19 Jan 2026 12:18:27 +0000 Subject: [PATCH] node: update comment The comment mentions a variable `needs_flush`, which is not `write_intent`. --- crates/radicle-node/src/reactor/transport.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/radicle-node/src/reactor/transport.rs b/crates/radicle-node/src/reactor/transport.rs index 4d877e69..6ace822c 100644 --- a/crates/radicle-node/src/reactor/transport.rs +++ b/crates/radicle-node/src/reactor/transport.rs @@ -206,7 +206,7 @@ impl Transport { } match self.flush() { Ok(_) => None, - // In this case, the write could not complete. Leave `needs_flush` set + // In this case, the write could not complete. Leave `write_intent` set // to be notified when the socket is ready to write again. Err(err) if matches!(