commit 1483829c94182c61297704b8d5f7d79973bc86a2
parent acb9d1b3c6cb9c59edd2880dd0e0262fea965fa4
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 23 Dec 2018 22:46:00 +0100
Removed invalid todo
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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()