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>
This commit is contained in:
Tumuhairwe 2024-03-16 01:15:14 +03:00 committed by GitHub
parent 82128d3838
commit 8cfc6a1898
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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