mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove the 'b 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:
parent
95ec20bd97
commit
1290c18794
4 changed files with 27 additions and 27 deletions
|
@ -156,7 +156,7 @@ class Descriptor(DescriptorProvider):
|
|||
self.needsRooting = True
|
||||
self.returnType = "Temporary<%s>" % ifaceName
|
||||
self.argumentType = "JSRef<%s>" % ifaceName
|
||||
self.memberType = "Root<'b, %s>" % ifaceName
|
||||
self.memberType = "Root<%s>" % ifaceName
|
||||
self.nativeType = "JS<%s>" % ifaceName
|
||||
|
||||
self.concreteType = ifaceName
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue