commands: strip lifetimes

This commit is contained in:
2025-12-08 12:30:19 +09:00
parent 78cfc09d60
commit 8430592bee
133 changed files with 269 additions and 271 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ pub struct PlChangesPosIdRequest {
pub window: Option<WindowRange>,
}
impl CommandRequest<'_> for PlChangesPosIdRequest {
impl CommandRequest for PlChangesPosIdRequest {
const COMMAND: &'static str = "plchangesposid";
fn into_request_enum(self) -> crate::Request {
@@ -68,7 +68,7 @@ pub struct PlChangesPosIdResponseEntry {
pub id: SongId,
}
impl CommandResponse<'_> for PlChangesPosIdResponse {
impl CommandResponse for PlChangesPosIdResponse {
fn from_response_enum(response: crate::Response) -> Option<Self> {
todo!()
}
@@ -82,7 +82,7 @@ impl CommandResponse<'_> for PlChangesPosIdResponse {
}
}
impl Command<'_, '_> for PlChangesPosId {
impl Command for PlChangesPosId {
type Request = PlChangesPosIdRequest;
type Response = PlChangesPosIdResponse;
}