From 591963106e28053f248d7c535892e82455d58104 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 23 Dec 2016 12:02:17 -0800 Subject: [PATCH] Update NamedFile documentation. --- lib/src/response/named_file.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/src/response/named_file.rs b/lib/src/response/named_file.rs index 2f06fa22..67d854b3 100644 --- a/lib/src/response/named_file.rs +++ b/lib/src/response/named_file.rs @@ -76,11 +76,6 @@ impl NamedFile { /// [ContentType::from_extension](/rocket/http/struct.ContentType.html#method.from_extension) /// for more information. If you would like to stream a file with a different /// Content-Type than that implied by its extension, use a `File` directly. -/// -/// # Failure -/// -/// If reading the file fails permanently at any point during the response, an -/// `Outcome` of `Failure` is returned, and the response is terminated abrubtly. impl<'r> Responder<'r> for NamedFile { fn respond(self) -> Result, Status> { let mut response = Response::new();