mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Derive the Debug trait for WebIDL-generated enums.
This commit is contained in:
parent
61f09cce4e
commit
eede44984d
1 changed files with 1 additions and 1 deletions
|
@ -3509,7 +3509,7 @@ class CGEnum(CGThing):
|
|||
|
||||
decl = """\
|
||||
#[repr(usize)]
|
||||
#[derive(JSTraceable, PartialEq, Copy, Clone, HeapSizeOf)]
|
||||
#[derive(JSTraceable, PartialEq, Copy, Clone, HeapSizeOf, Debug)]
|
||||
pub enum %s {
|
||||
%s
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue