mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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
3b376bb319
commit
11a3ce1257
9 changed files with 29 additions and 29 deletions
|
@ -295,7 +295,7 @@ pub fn handle_is_enabled(page: &Rc<Page>,
|
|||
reply.send(match find_node_by_unique_id(page, pipeline, element_id) {
|
||||
Some(ref node) => {
|
||||
match node.downcast::<Element>() {
|
||||
Some(elem) => Ok(elem.get_enabled_state()),
|
||||
Some(elem) => Ok(elem.enabled_state()),
|
||||
None => Err(())
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue