servo: Merge #18021 - Update Trusted<T> documentation (from ferjm:trusted.doc); r=jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 8074c6aaad06c11e85f6cf02404457c9b91a0092

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 59dec3d44ee512746526032815341fb654ada99e
This commit is contained in:
Fernando Jiménez Moreno 2017-08-09 10:19:57 -05:00
Родитель 9fb54004da
Коммит 2efc656d5f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.