diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-12 02:12:51 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-12 02:12:51 -0700 |
commit | f451005f4fe075c849de2f3766f5bf84510b8465 (patch) | |
tree | e6331578b227c2359f5d7c1a5d06276477e74c87 /components/util/logical_geometry.rs | |
parent | 9f8dda7abc5f2dc97f5d90aa24fcc5b596ab6918 (diff) | |
parent | c254d195ad07d4f815005e405e5e45b7303b07a3 (diff) | |
download | servo-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/util/logical_geometry.rs')
-rw-r--r-- | components/util/logical_geometry.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/util/logical_geometry.rs b/components/util/logical_geometry.rs index 06912ed8c39..96664cc5605 100644 --- a/components/util/logical_geometry.rs +++ b/components/util/logical_geometry.rs @@ -25,13 +25,13 @@ impl WritingMode { self.intersects(FLAG_VERTICAL) } - /// Asuming .is_vertical(), does the block direction go left to right? + /// Assuming .is_vertical(), does the block direction go left to right? #[inline] pub fn is_vertical_lr(&self) -> bool { self.intersects(FLAG_VERTICAL_LR) } - /// Asuming .is_vertical(), does the inline direction go top to bottom? + /// Assuming .is_vertical(), does the inline direction go top to bottom? #[inline] pub fn is_inline_tb(&self) -> bool { !(self.intersects(FLAG_SIDEWAYS_LEFT) ^ self.intersects(FLAG_RTL)) @@ -403,7 +403,7 @@ impl<T: Copy + Sub<T, T>> LogicalPoint<T> { impl<T: Add<T,T>> LogicalPoint<T> { /// This doesn’t really makes sense, - /// but happens when dealing with mutliple origins. + /// but happens when dealing with multiple origins. #[inline] pub fn add_point(&self, other: &LogicalPoint<T>) -> LogicalPoint<T> { self.debug_writing_mode.check_debug(other.debug_writing_mode); |