aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/trace.rs
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2023-02-27 22:20:16 +0800
committerDelan Azabani <dazabani@igalia.com>2023-03-23 18:06:17 +0800
commit1f74d4c75bdc3c4a649665bb7e7fb51b6dba854d (patch)
tree0653bb1094e9d6aa1251330896d3400b163d319f /components/script/dom/bindings/trace.rs
parent4c7f198ee22ba5c6c1393395ceb9889d2d4decaa (diff)
downloadservo-1f74d4c75bdc3c4a649665bb7e7fb51b6dba854d.tar.gz
servo-1f74d4c75bdc3c4a649665bb7e7fb51b6dba854d.zip
revert: Introduce `Untransplantable` trait to indicate transplantability at the type level
(8f7b0cff87f0eab921e13e6990d76e12935e8675)
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
-rw-r--r--components/script/dom/bindings/trace.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs
index 54bb86667c6..a9b5733c9ff 100644
--- a/components/script/dom/bindings/trace.rs
+++ b/components/script/dom/bindings/trace.rs
@@ -32,7 +32,7 @@
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::error::Error;
use crate::dom::bindings::refcounted::{Trusted, TrustedPromise};
-use crate::dom::bindings::reflector::{DomObject, Reflector, Untransplantable};
+use crate::dom::bindings::reflector::{DomObject, Reflector};
use crate::dom::bindings::root::{Dom, DomRoot};
use crate::dom::bindings::str::{DOMString, USVString};
use crate::dom::bindings::utils::WindowProxyHandler;
@@ -1193,7 +1193,7 @@ impl<'a, T: 'static + JSTraceable> RootedVec<'a, T> {
}
}
-impl<'a, T: 'static + JSTraceable + DomObject + Untransplantable> RootedVec<'a, Dom<T>> {
+impl<'a, T: 'static + JSTraceable + DomObject> RootedVec<'a, Dom<T>> {
/// Create a vector of items of type Dom<T> that is rooted for
/// the lifetime of this struct
pub fn from_iter<I>(root: &'a mut RootableVec<Dom<T>>, iter: I) -> Self