mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
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 -->
This commit is contained in:
commit
f43a14ea68
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue