commands: strip lifetimes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user