mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #14699 - notriddle:constructive_commentary, r=emilio
Fix an outdated comment The structures have changed, as has the syntax of the Rust language. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14699) <!-- Reviewable:end -->
This commit is contained in:
commit
f850918d8e
1 changed files with 15 additions and 10 deletions
|
@ -141,17 +141,22 @@ pub struct InlineFragmentsConstructionResult {
|
|||
/// The resulting `ConstructionItem` for the outer `span` will be:
|
||||
///
|
||||
/// ```ignore
|
||||
/// ConstructionItem::InlineFragments(Some(~[
|
||||
/// InlineBlockSplit {
|
||||
/// predecessor_fragments: ~[
|
||||
/// A
|
||||
/// ConstructionItem::InlineFragments(
|
||||
/// InlineFragmentsConstructionResult{
|
||||
/// splits: linked_list![
|
||||
/// InlineBlockSplit{
|
||||
/// predecessors: IntermediateInlineFragments{
|
||||
/// fragments: linked_list![A],
|
||||
/// absolute_descendents: AbsoluteDescendents{
|
||||
/// descendant_links: vec![]
|
||||
/// }
|
||||
/// },
|
||||
/// flow: B
|
||||
/// }
|
||||
/// ],
|
||||
/// block: ~BlockFlow {
|
||||
/// B
|
||||
/// },
|
||||
/// }),~[
|
||||
/// C
|
||||
/// ])
|
||||
/// fragments: linked_list![C],
|
||||
/// }
|
||||
/// )
|
||||
/// ```
|
||||
#[derive(Clone)]
|
||||
pub struct InlineBlockSplit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue