mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove VoidVal.
There are no undefined constants in IDL.
This commit is contained in:
parent
25e9830938
commit
aa83388f38
2 changed files with 0 additions and 4 deletions
|
@ -198,8 +198,6 @@ pub enum ConstantVal {
|
|||
BoolVal(bool),
|
||||
/// `null` constant.
|
||||
NullVal,
|
||||
/// `undefined` constant.
|
||||
VoidVal
|
||||
}
|
||||
|
||||
/// Representation of an IDL constant.
|
||||
|
@ -220,7 +218,6 @@ impl ConstantSpec {
|
|||
UintVal(u) => UInt32Value(u),
|
||||
DoubleVal(d) => DoubleValue(d),
|
||||
BoolVal(b) => BooleanValue(b),
|
||||
VoidVal => UndefinedValue(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue