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

@ -244,7 +244,7 @@ pub struct GameNameParsed<'a> {
year: Option<u16>,
}
pub fn extract_game_parts_from_name(game: &str) -> GameNameParsed {
pub fn extract_game_parts_from_name(game: &str) -> GameNameParsed<'_> {
// Separate game name into words
// NOTE: we have to leave "-" in to prevent hyphenated prefixes being parsed as
// numerals