mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make make_enumerated_getter prettier again.
Fixes https://github.com/servo/servo/issues/4723.
This commit is contained in:
parent
4034bd68c2
commit
2944c8d964
6 changed files with 18 additions and 18 deletions
|
@ -145,7 +145,7 @@ macro_rules! make_string_or_document_url_getter(
|
|||
|
||||
#[macro_export]
|
||||
macro_rules! make_enumerated_getter(
|
||||
( $attr:ident, $htmlname:tt, $default:expr, $(($choices: pat))|+) => (
|
||||
( $attr:ident, $htmlname:tt, $default:expr, $($choices: pat)|+) => (
|
||||
fn $attr(&self) -> DOMString {
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::element::Element;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue