diff options
Diffstat (limited to 'components/script/layout_image.rs')
-rw-r--r-- | components/script/layout_image.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/script/layout_image.rs b/components/script/layout_image.rs index a7e1d6fa06c..c9fed246773 100644 --- a/components/script/layout_image.rs +++ b/components/script/layout_image.rs @@ -2,10 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -//! Infrastructure to initiate network requests for images needed by the layout -//! thread. The script thread needs to be responsible for them because there's -//! no guarantee that the responsible nodes will still exist in the future if the -//! layout thread holds on to them during asynchronous operations. +//! Infrastructure to initiate network requests for images needed by layout. The script thread needs +//! to be responsible for them because there's no guarantee that the responsible nodes will still +//! exist in the future if layout holds on to them during asynchronous operations. use std::sync::{Arc, Mutex}; |