aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-02-21 04:22:43 -0500
committerGitHub <noreply@github.com>2018-02-21 04:22:43 -0500
commit554b0c0d06a229e6635bcadcf60b9c477345664a (patch)
tree96c96850b9918e5e69ad864d39b97358ef9ccacd /components
parenta0fff37de3a836ff04b78bc752950535326b1859 (diff)
parent89797c0868bda8c9894e490c3eda4d2db335f891 (diff)
downloadservo-554b0c0d06a229e6635bcadcf60b9c477345664a.tar.gz
servo-554b0c0d06a229e6635bcadcf60b9c477345664a.zip
Auto merge of #20096 - maekawatoshiki:master, r=emilio
Fix typo <!-- Please describe your changes on the following line: --> I found some typo, so I fixed them. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it's just a fix of typo. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/20096) <!-- Reviewable:end -->
Diffstat (limited to 'components')
-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 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}",