aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-10-10 13:42:16 -0400
committerCorey Farwell <coreyf@rwell.org>2016-10-10 13:42:16 -0400
commitc715cef4c5e616b720333ef43428ee426363115c (patch)
treeed88b8d0edccd4cfec4ddfdbf08de2e704c53c36
parentaef6054dc64043860e90ca962b60c51c683789f2 (diff)
downloadservo-c715cef4c5e616b720333ef43428ee426363115c.tar.gz
servo-c715cef4c5e616b720333ef43428ee426363115c.zip
Remove unused trait method.
-rw-r--r--components/net_traits/request.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/net_traits/request.rs b/components/net_traits/request.rs
index 4380baf3a09..10b202cd41a 100644
--- a/components/net_traits/request.rs
+++ b/components/net_traits/request.rs
@@ -276,10 +276,6 @@ impl Request {
self.url_list.borrow().last().unwrap().clone()
}
- pub fn current_url_string(&self) -> String {
- self.url_list.borrow().last().unwrap().to_string()
- }
-
pub fn is_navigation_request(&self) -> bool {
self.destination == Destination::Document
}