Remove unused lifetime and double referencing

This commit is contained in:
Daniel García
2021-06-26 13:35:09 +02:00
parent 46e0f3c43a
commit 0dcea75764
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ use crate::{
};
#[put("/devices/identifier/<uuid>/clear-token")]
fn clear_device_token<'a>(uuid: String) -> &'static str {
fn clear_device_token(uuid: String) -> &'static str {
// This endpoint doesn't have auth header
let _ = uuid;