Clippy code cleanup

This commit is contained in:
daa84
2017-09-11 18:31:15 +03:00
parent f7710ca912
commit 945cea6acf
7 changed files with 13 additions and 15 deletions

View File

@@ -127,7 +127,7 @@ pub fn shape_dirty(
for i in 0..line.line.len() {
if line[i].dirty {
if let Some(mut item) = line.get_item_mut(i) {
if let Some(item) = line.get_item_mut(i) {
let mut glyphs = pango::GlyphString::new();
{
let analysis = item.analysis();