aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-10 16:29:25 -0500
committerGitHub <noreply@github.com>2016-10-10 16:29:25 -0500
commitf43a14ea687166da92bf23bdd61b546a74288d04 (patch)
tree275d91f00f048bf64b7efed959ad47068ea15128
parent51b806fcc0542c5e49ebc9f00a9f527d52b4556c (diff)
parentc715cef4c5e616b720333ef43428ee426363115c (diff)
downloadservo-f43a14ea687166da92bf23bdd61b546a74288d04.tar.gz
servo-f43a14ea687166da92bf23bdd61b546a74288d04.zip
Auto merge of #13678 - frewsxcv:unused-trait-method, r=KiChjang
Remove unused trait method. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13678) <!-- Reviewable:end -->
-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
}