aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout
diff options
context:
space:
mode:
authormaekawatoshiki <konndennsa@gmail.com>2018-02-21 14:00:06 +0900
committermaekawatoshiki <konndennsa@gmail.com>2018-02-21 14:00:06 +0900
commit89797c0868bda8c9894e490c3eda4d2db335f891 (patch)
tree2baa9f87939fd7b1837e2f22f433a21421624978 /components/layout
parentfaa969a91d5dcaedbcb8590aa3da5702e90abf10 (diff)
downloadservo-89797c0868bda8c9894e490c3eda4d2db335f891.tar.gz
servo-89797c0868bda8c9894e490c3eda4d2db335f891.zip
Fix typo
Diffstat (limited to 'components/layout')
-rw-r--r--components/layout/inline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index 2c9c37d204e..54348a6c124 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}",