mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove get_*
on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
This commit is contained in:
parent
210a243137
commit
bf4db405e4
9 changed files with 35 additions and 35 deletions
|
@ -91,7 +91,7 @@ fn find_node_by_unique_id(page: &Rc<Page>, pipeline: PipelineId, node_id: String
|
|||
let node = document.upcast::<Node>();
|
||||
|
||||
for candidate in node.traverse_preorder() {
|
||||
if candidate.get_unique_id() == node_id {
|
||||
if candidate.unique_id() == node_id {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue