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:
|
/// The resulting `ConstructionItem` for the outer `span` will be:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```ignore
|
||||||
/// ConstructionItem::InlineFragments(Some(~[
|
/// ConstructionItem::InlineFragments(
|
||||||
/// InlineBlockSplit {
|
/// InlineFragmentsConstructionResult{
|
||||||
/// predecessor_fragments: ~[
|
/// splits: linked_list![
|
||||||
/// A
|
/// InlineBlockSplit{
|
||||||
|
/// predecessors: IntermediateInlineFragments{
|
||||||
|
/// fragments: linked_list![A],
|
||||||
|
/// absolute_descendents: AbsoluteDescendents{
|
||||||
|
/// descendant_links: vec![]
|
||||||
|
/// }
|
||||||
|
/// },
|
||||||
|
/// flow: B
|
||||||
|
/// }
|
||||||
/// ],
|
/// ],
|
||||||
/// block: ~BlockFlow {
|
/// fragments: linked_list![C],
|
||||||
/// B
|
/// }
|
||||||
/// },
|
/// )
|
||||||
/// }),~[
|
|
||||||
/// C
|
|
||||||
/// ])
|
|
||||||
/// ```
|
/// ```
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct InlineBlockSplit {
|
pub struct InlineBlockSplit {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue