Rustfmt has changed its default style :/

This commit is contained in:
Simon Sapin 2018-12-14 08:31:30 +01:00
parent 82fc6d9f49
commit be69f9c3e6
207 changed files with 1200 additions and 1339 deletions

View file

@ -806,11 +806,12 @@ impl<'a> Iterator for GlyphIterator<'a> {
}
// No glyph range. Look at next byte.
self.byte_index = self.byte_index + if self.store.is_rtl {
ByteIndex(-1)
} else {
ByteIndex(1)
};
self.byte_index = self.byte_index +
if self.store.is_rtl {
ByteIndex(-1)
} else {
ByteIndex(1)
};
let i = self.byte_index;
if !self.byte_range.contains(i) {
return None;