commands: strip lifetimes
This commit is contained in:
@@ -14,7 +14,7 @@ pub struct AddRequest {
|
||||
position: Option<SongPosition>,
|
||||
}
|
||||
|
||||
impl CommandRequest<'_> for AddRequest {
|
||||
impl CommandRequest for AddRequest {
|
||||
const COMMAND: &'static str = "add";
|
||||
|
||||
fn into_request_enum(self) -> crate::Request {
|
||||
@@ -60,7 +60,7 @@ impl CommandRequest<'_> for AddRequest {
|
||||
|
||||
empty_command_response!(Add);
|
||||
|
||||
impl Command<'_, '_> for Add {
|
||||
impl Command for Add {
|
||||
type Request = AddRequest;
|
||||
type Response = AddResponse;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user