mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use workspace definitions for all crates and update to the 2021 edition (#32544)
This commit is contained in:
parent
42b09d483f
commit
4a7f3bac7c
60 changed files with 283 additions and 268 deletions
|
@ -157,7 +157,7 @@ macro_rules! make_labels_getter(
|
|||
|
||||
#[macro_export]
|
||||
macro_rules! make_enumerated_getter(
|
||||
( $attr:ident, $htmlname:tt, $default:expr, $($choices: pat)|+) => (
|
||||
( $attr:ident, $htmlname:tt, $default:expr, $($choices:pat_param)|+) => (
|
||||
fn $attr(&self) -> DOMString {
|
||||
use $crate::dom::bindings::inheritance::Castable;
|
||||
use $crate::dom::element::Element;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue