aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared')
-rw-r--r--components/shared/script_layout/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/shared/script_layout/lib.rs b/components/shared/script_layout/lib.rs
index 84e32a66d92..d37c055f4f7 100644
--- a/components/shared/script_layout/lib.rs
+++ b/components/shared/script_layout/lib.rs
@@ -205,9 +205,9 @@ pub trait Layout {
fn current_epoch(&self) -> Epoch;
}
-/// This trait is part of `layout_traits` because it depends on both `script_traits` and also
-/// `LayoutFactory` from this crate. If it was in `script_traits` there would be a circular
-/// dependency.
+/// This trait is part of `script_layout_interface` because it depends on both `script_traits`
+/// and also `LayoutFactory` from this crate. If it was in `script_traits` there would be a
+/// circular dependency.
pub trait ScriptThreadFactory {
/// Create a `ScriptThread`.
fn create(