mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Fix existing syntactics nits.
This commit is contained in:
parent
7f935f010b
commit
8bb853f643
93 changed files with 393 additions and 397 deletions
|
@ -46,7 +46,7 @@ pub struct NaturalWordSliceIterator<'a> {
|
|||
|
||||
struct CharIndexComparator;
|
||||
|
||||
impl Comparator<CharIndex,GlyphRun> for CharIndexComparator {
|
||||
impl Comparator<CharIndex, GlyphRun> for CharIndexComparator {
|
||||
fn compare(&self, key: &CharIndex, value: &GlyphRun) -> Ordering {
|
||||
if *key < value.range.begin() {
|
||||
Ordering::Less
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue