Remove lifetime notation on Request (#12)

* feat: remove lifetime notation on Request

* feat: update version to v0.4.5
This commit is contained in:
Valerio Ageno
2024-07-09 19:00:48 +02:00
committed by GitHub
parent f62fc0b2b9
commit b412371287
16 changed files with 37 additions and 39 deletions
@@ -2,6 +2,6 @@
use tuono_lib::{reqwest::Client, Request, Response};
#[tuono_lib::handler]
async fn redirect_to_goat(_: Request<'_>, _: Client) -> Response {
async fn redirect_to_goat(_: Request, _: Client) -> Response {
Response::Redirect("/pokemons/mewtwo".to_string())
}