aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/about_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/about_loader.rs')
-rw-r--r--components/net/about_loader.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/net/about_loader.rs b/components/net/about_loader.rs
index 11533c353f4..213988904c2 100644
--- a/components/net/about_loader.rs
+++ b/components/net/about_loader.rs
@@ -14,7 +14,6 @@ use hyper::http::RawStatus;
use hyper::mime::{Mime, TopLevel, SubLevel};
use util::resource_files::resources_dir_path;
-use std::borrow::IntoCow;
use std::fs::PathExt;
use std::sync::Arc;
@@ -26,7 +25,7 @@ pub fn factory(mut load_data: LoadData, start_chan: LoadConsumer, classifier: Ar
content_type: Some(ContentType(Mime(TopLevel::Text, SubLevel::Html, vec![]))),
charset: Some("utf-8".to_string()),
headers: None,
- status: Some(RawStatus(200, "OK".into_cow())),
+ status: Some(RawStatus(200, "OK".into())),
});
chan.send(Done(Ok(()))).unwrap();
return