mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
fix(clippy): add lifetime annotations to various methods and structs (mismatched_lifetime_syntaxes)
This commit is contained in:
parent
a5f15a040a
commit
4ea333f16b
17 changed files with 33 additions and 33 deletions
|
|
@ -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) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue