Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Oriol Brufau <[email protected]>
  • Loading branch information
Loirooriol committed Feb 4, 2025
1 parent 85ebfd8 commit 4359cb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions style/values/computed/length_percentage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,11 @@ pub enum Unpacked<'a> {

/// An unpacked `<length-percentage>` that mutably borrows the `calc()` variant.
enum UnpackedMut<'a> {
/// A `calc()` value
Calc(&'a mut CalcLengthPercentage),
/// A length value
Length(Length),
/// A percentage value
Percentage(Percentage),
}

Expand Down

0 comments on commit 4359cb6

Please sign in to comment.