Opt into field bounds for #[derive(ToComputedValue)]

This commit is contained in:
Anthony Ramine 2018-03-09 17:56:16 +01:00
parent 2efd06c12d
commit 4d0bf2ddf9
5 changed files with 55 additions and 46 deletions

View file

@ -666,7 +666,7 @@ pub enum GridTemplateComponent<L, I> {
/// `none` value.
None,
/// The grid `<track-list>`
TrackList(TrackList<L, I>),
TrackList(#[compute(field_bound)] TrackList<L, I>),
/// A `subgrid <line-name-list>?`
Subgrid(LineNameList),
}