diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-10-10 16:29:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 16:29:25 -0500 |
commit | f43a14ea687166da92bf23bdd61b546a74288d04 (patch) | |
tree | 275d91f00f048bf64b7efed959ad47068ea15128 | |
parent | 51b806fcc0542c5e49ebc9f00a9f527d52b4556c (diff) | |
parent | c715cef4c5e616b720333ef43428ee426363115c (diff) | |
download | servo-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.rs | 4 |
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 } |