style: followup: Add a comment as requested on Phabricator.

This commit is contained in:
Emilio Cobos Álvarez 2019-03-07 00:14:06 +01:00
parent 14e6875ef9
commit 18a0c9b033

View file

@ -994,6 +994,10 @@ impl NonNegativeLengthPercentage {
pub type LengthOrNormal = Either<Length, Normal>;
/// Either a `<length>` or the `auto` keyword.
///
/// Note that we use LengthPercentage just for convenience, since it pretty much
/// is everything we care about, but we could just add a similar LengthOrAuto
/// instead if we think getting rid of this weirdness is worth it.
pub type LengthOrAuto = generics::LengthPercentageOrAuto<Length>;
impl LengthOrAuto {