From 5bbf389dbe8172343d10916387c159b3e28dd8ae Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 2 Jan 2024 17:26:18 +0100 Subject: [PATCH] Remove some old todos --- cove-config/src/keys.rs | 1 - cove/src/euph/room.rs | 2 -- cove/src/macros.rs | 1 - 3 files changed, 4 deletions(-) diff --git a/cove-config/src/keys.rs b/cove-config/src/keys.rs index 3ecbb5b..1f8a818 100644 --- a/cove-config/src/keys.rs +++ b/cove-config/src/keys.rs @@ -122,7 +122,6 @@ pub struct General { #[serde(default = "default::general::confirm")] pub confirm: KeyBinding, /// Advance focus. - // TODO Mention examples where this is used #[serde(default = "default::general::focus")] pub focus: KeyBinding, /// Show this help. diff --git a/cove/src/euph/room.rs b/cove/src/euph/room.rs index 6ae3a17..2831bc6 100644 --- a/cove/src/euph/room.rs +++ b/cove/src/euph/room.rs @@ -1,4 +1,3 @@ -// TODO Stop if room does not exist (e.g. 404) // TODO Remove rl2dev-specific code use std::convert::Infallible; @@ -141,7 +140,6 @@ impl Room { self.log_request_canary = None; } Event::Stopped(_) => { - // TODO Remove room somewhere if this happens? If it doesn't already happen during stabilization self.state = State::Stopped; } } diff --git a/cove/src/macros.rs b/cove/src/macros.rs index a20cec9..bb5834c 100644 --- a/cove/src/macros.rs +++ b/cove/src/macros.rs @@ -1,4 +1,3 @@ -// TODO Get rid of this macro as much as possible macro_rules! logging_unwrap { ($e:expr) => { match $e {