Skip to content

Commit

Permalink
Update NamedFile documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Dec 23, 2016
1 parent 586254d commit 5919631
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/src/response/named_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Response<'r>, Status> {
let mut response = Response::new();
Expand Down

0 comments on commit 5919631

Please sign in to comment.