aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script_layout/lib.rs
diff options
context:
space:
mode:
authorTumuhairwe <51232461+jahielkomu@users.noreply.github.com>2024-03-16 01:15:14 +0300
committerGitHub <noreply@github.com>2024-03-15 22:15:14 +0000
commit8cfc6a1898d02eb1df9c13c3c410747cb1e0b412 (patch)
tree4ae2abdbf070a3095d1243c6e3e41f3b98523e54 /components/shared/script_layout/lib.rs
parent82128d38385708d80a29dc3a6808be943dda6f9b (diff)
downloadservo-8cfc6a1898d02eb1df9c13c3c410747cb1e0b412.tar.gz
servo-8cfc6a1898d02eb1df9c13c3c410747cb1e0b412.zip
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 <mrobinson@igalia.com>
Diffstat (limited to 'components/shared/script_layout/lib.rs')
-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(