Permalink
Browse files

Auto merge of #18021 - ferjm:trusted.doc, r=jdm

Update Trusted<T> documentation

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18021)
<!-- Reviewable:end -->
  • Loading branch information...
bors-servo committed Aug 9, 2017
2 parents 77cb537 + 9ec8575 commit 8074c6aaad06c11e85f6cf02404457c9b91a0092
Showing with 1 addition and 1 deletion.
  1. +1 −1 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<T>` 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<T>` via the `to_temporary` method.
//! from a `Trusted<T>` via the `root` method.
//!
//! The implementation of `Trusted<T>` is as follows:
//! The `Trusted<T>` object contains an atomic reference counted pointer to the Rust DOM object.

0 comments on commit 8074c6a

Please sign in to comment.