From fe1932d45c91101b5dd8c9546b4b0bb72116511e Mon Sep 17 00:00:00 2001 From: tottoto Date: Sat, 17 Feb 2024 04:49:13 +0900 Subject: [PATCH] refactor(status): remove redundant static lifetime --- src/status.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.rs b/src/status.rs index 4eb3866d..1f619ee1 100644 --- a/src/status.rs +++ b/src/status.rs @@ -542,7 +542,7 @@ impl Error for InvalidStatusCode {} // A string of packed 3-ASCII-digit status code values for the supported range // of [100, 999] (900 codes, 2700 bytes). -const CODE_DIGITS: &'static str = "\ +const CODE_DIGITS: &str = "\ 100101102103104105106107108109110111112113114115116117118119\ 120121122123124125126127128129130131132133134135136137138139\ 140141142143144145146147148149150151152153154155156157158159\