From 8cfc6a1898d02eb1df9c13c3c410747cb1e0b412 Mon Sep 17 00:00:00 2001 From: Tumuhairwe <51232461+jahielkomu@users.noreply.github.com> Date: Sat, 16 Mar 2024 01:15:14 +0300 Subject: [PATCH] Updated comment with 'layout_traits' to 'script_layout_interface' (#31707) * Updated comment with 'layout_traits' to 'script_layout_interface' * Rewrap text * Remove trailing whitespace --------- Co-authored-by: Martin Robinson --- components/shared/script_layout/lib.rs | 6 +++--- 1 file 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(