misc: rate_limiter: streamline error Display::fmt()

The changes were mostly automatically applied using the Python
script mentioned in the first commit of this series.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-05-21 12:31:55 +02:00
committed by Rob Bradford
parent 2100d8c30f
commit 8f56de713b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ pub enum Error {
#[error("Event handler was called spuriously: {0}")]
SpuriousRateLimiterEvent(&'static str),
/// The event handler encounters while TimerFd::wait()
#[error("Failed to wait for the timer: {0}")]
#[error("Failed to wait for the timer")]
TimerFdWaitError(#[source] std::io::Error),
}