Skip to content

Commit 53186da

Browse files
committed
fix lint
1 parent 5183f00 commit 53186da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/serializers/fields.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ impl GeneralFieldsSerializer {
359359
);
360360
let output_key = field.get_key_json(key_str, &field_extra);
361361
map.serialize_entry(&output_key, &s)?;
362-
};
362+
}
363363
}
364364
}
365365
} else if self.mode == FieldsMode::TypedDictAllow {
@@ -377,7 +377,7 @@ impl GeneralFieldsSerializer {
377377
} else {
378378
let s = SerializeInfer::new(value, next_include.as_ref(), next_exclude.as_ref(), &field_extra);
379379
map.serialize_entry(&output_key, &s)?;
380-
};
380+
}
381381
}
382382
}
383383
Ok(())

src/serializers/type_serializers/dict.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl TypeSerializer for DictSerializer {
181181
extra,
182182
);
183183
map.serialize_entry(&key, &s)?;
184-
};
184+
}
185185
}
186186
}
187187
map.end()

0 commit comments

Comments
 (0)