mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02: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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user