Make make_enumerated_getter prettier again.

Fixes https://github.com/servo/servo/issues/4723.
This commit is contained in:
Corey Farwell 2016-10-12 23:00:07 -04:00
parent 4034bd68c2
commit 2944c8d964
6 changed files with 18 additions and 18 deletions

View file

@ -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;