Remove pointless assertion in the typedef code.

This commit is contained in:
Ms2ger 2017-02-08 12:37:17 +01:00
parent 507b4bf05e
commit 7d5320f419
2 changed files with 1 additions and 1 deletions

View file

@ -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))