fix(clippy): add lifetime annotations to various methods and structs (mismatched_lifetime_syntaxes)

This commit is contained in:
Cain 2026-02-22 17:47:05 +00:00
parent a5f15a040a
commit 4ea333f16b
17 changed files with 33 additions and 33 deletions

View file

@ -43,7 +43,7 @@ pub struct Response {
}
impl CommonResponse for Response {
fn as_original(&self) -> GenericResponse { GenericResponse::FFOW(self) }
fn as_original(&self) -> GenericResponse<'_> { GenericResponse::FFOW(self) }
fn name(&self) -> Option<&str> { Some(&self.name) }
fn game_mode(&self) -> Option<&str> { Some(&self.game_mode) }