mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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:
parent
82128d3838
commit
8cfc6a1898
1 changed files with 3 additions and 3 deletions
|
@ -205,9 +205,9 @@ pub trait Layout {
|
||||||
fn current_epoch(&self) -> Epoch;
|
fn current_epoch(&self) -> Epoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This trait is part of `layout_traits` because it depends on both `script_traits` and also
|
/// This trait is part of `script_layout_interface` because it depends on both `script_traits`
|
||||||
/// `LayoutFactory` from this crate. If it was in `script_traits` there would be a circular
|
/// and also `LayoutFactory` from this crate. If it was in `script_traits` there would be a
|
||||||
/// dependency.
|
/// circular dependency.
|
||||||
pub trait ScriptThreadFactory {
|
pub trait ScriptThreadFactory {
|
||||||
/// Create a `ScriptThread`.
|
/// Create a `ScriptThread`.
|
||||||
fn create(
|
fn create(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue