From 1483829c94182c61297704b8d5f7d79973bc86a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sun, 23 Dec 2018 22:46:00 +0100 Subject: [PATCH] Removed invalid todo --- src/error.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 51afffa..6ea243d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -125,8 +125,6 @@ use rocket::response::{self, Responder, Response}; impl<'r> Responder<'r> for Error { fn respond_to(self, _: &Request) -> response::Result<'r> { - // TODO: We could put the security headers here, but it would only apply to the errors - let usr_msg = self.display_error(); Response::build()