mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +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
|
@ -400,7 +400,7 @@ impl HTMLFormElement {
|
|||
for child in node.traverse_preorder() {
|
||||
// Step 3.1: The field element is disabled.
|
||||
match child.downcast::<Element>() {
|
||||
Some(el) if !el.get_disabled_state() => (),
|
||||
Some(el) if !el.disabled_state() => (),
|
||||
_ => continue,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue