From 57e53d58f41ce01af62ffc279fb83004130cadf4 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 9 Feb 2022 14:39:34 +0100 Subject: askama_mendes: upgrade mendes to 0.0.62 (#636) --- askama_mendes/tests/basic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_mendes/tests') diff --git a/askama_mendes/tests/basic.rs b/askama_mendes/tests/basic.rs index e2f5b25..c9ef810 100644 --- a/askama_mendes/tests/basic.rs +++ b/askama_mendes/tests/basic.rs @@ -3,7 +3,7 @@ use std::sync::Arc; use async_trait::async_trait; use hyper::body::to_bytes; use hyper::{Body, Request}; -use mendes::application::Responder; +use mendes::application::IntoResponse; use mendes::http::request::Parts; use mendes::http::{Response, StatusCode}; use mendes::{handler, route, Application, Context}; @@ -77,7 +77,7 @@ impl std::fmt::Display for Error { } } -impl Responder for Error { +impl IntoResponse for Error { fn into_response(self, _: &App, _: &Parts) -> Response { Response::builder() .status(StatusCode::from(&self)) -- cgit