mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove pointless assertion in the typedef code.
This commit is contained in:
parent
507b4bf05e
commit
7d5320f419
2 changed files with 1 additions and 1 deletions
|
@ -6132,7 +6132,6 @@ class CGBindingRoot(CGThing):
|
|||
# Allow using the typedef's name for accessing variants.
|
||||
template = "pub use self::%(type)s as %(name)s;"
|
||||
else:
|
||||
assert not typeNeedsRooting(t.innerType, config.getDescriptorProvider())
|
||||
template = "pub type %(name)s = %(type)s;"
|
||||
|
||||
cgthings.append(CGGeneric(template % substs))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue