From 9ec8575f57c432df78648ebffd85e19909761d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Wed, 9 Aug 2017 16:57:32 +0200 Subject: [PATCH] Update Trusted documentation --- components/script/dom/bindings/refcounted.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index bbac02288fc..8acbe823e7c 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -11,7 +11,7 @@ //! To guarantee the lifetime of a DOM object when performing asynchronous operations, //! obtain a `Trusted` from that object and pass it along with each operation. //! A usable pointer to the original DOM object can be obtained on the script thread -//! from a `Trusted` via the `to_temporary` method. +//! from a `Trusted` via the `root` method. //! //! The implementation of `Trusted` is as follows: //! The `Trusted` object contains an atomic reference counted pointer to the Rust DOM object.