diff options
-rw-r--r-- | components/layout/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index cc4581719d7..e2e4ad280fd 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -111,7 +111,7 @@ pub struct Line { /// For example, for the HTML below... /// /// ~~~html - /// <div><span>I <span>like truffles, <img></span></div> + /// <div><span>I like truffles, <img></span></div> /// ~~~ /// /// ...the bounds would be: @@ -1449,7 +1449,7 @@ impl Flow for InlineFlow { } /// Calculate and set the block-size of this flow. See CSS 2.1 § 10.6.1. - /// Note that we do not need to do in-order traversal becase the children + /// Note that we do not need to do in-order traversal because the children /// are always block formatting context. fn assign_block_size(&mut self, layout_context: &LayoutContext) { let _scope = layout_debug_scope!("inline::assign_block_size {:x}", |