mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Remove the 'a lifetime from Root.
It does not add any safety, as the reference is constructed from a raw pointer without limiting the lifetime in any way.
This commit is contained in:
@@ -156,7 +156,7 @@ class Descriptor(DescriptorProvider):
|
||||
self.needsRooting = True
|
||||
self.returnType = "Temporary<%s>" % ifaceName
|
||||
self.argumentType = "JSRef<%s>" % ifaceName
|
||||
self.memberType = "Root<'a, 'b, %s>" % ifaceName
|
||||
self.memberType = "Root<'b, %s>" % ifaceName
|
||||
self.nativeType = "JS<%s>" % ifaceName
|
||||
|
||||
self.concreteType = ifaceName
|
||||
|
||||
Reference in New Issue
Block a user