aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-12-12 02:12:51 -0700
committerbors-servo <metajack+bors@gmail.com>2014-12-12 02:12:51 -0700
commitf451005f4fe075c849de2f3766f5bf84510b8465 (patch)
treee6331578b227c2359f5d7c1a5d06276477e74c87 /components/layout/inline.rs
parent9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918 (diff)
parentc254d195ad07d4f815005e405e5e45b7303b07a3 (diff)
downloadservo-f451005f4fe075c849de2f3766f5bf84510b8465.tar.gz
servo-f451005f4fe075c849de2f3766f5bf84510b8465.zip
auto merge of #4171 : jbcrail/servo/fix-spelling, r=jdm
I only updated comments, not strings.
Diffstat (limited to 'components/layout/inline.rs')
-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 eb069c755bc..ef704a453ac 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -128,7 +128,7 @@ pub struct Line {
/// ~~~
pub bounds: LogicalRect<Au>,
- /// The green zone is the greatest extent from wich a line can extend to
+ /// The green zone is the greatest extent from which a line can extend to
/// before it collides with a float.
///
/// ~~~text
@@ -307,7 +307,7 @@ impl LineBreaker {
let splittable = first_fragment.can_split();
debug!("LineBreaker: fragment size: {}, splittable: {}", first_fragment_size, splittable);
- // Initally, pretend a splittable fragment has zero inline-size. We will move it later if
+ // Initially, pretend a splittable fragment has zero inline-size. We will move it later if
// it has nonzero inline-size and that causes problems.
let placement_inline_size = if splittable {
Au(0)