Remove Fonts::default() implementation

This commit is contained in:
Emil Ernerfeldt 2021-02-08 23:05:48 +01:00
parent 156d68d266
commit fc0bec44ba

View file

@ -172,9 +172,6 @@ impl Default for FontDefinitions {
}
/// The collection of fonts used by `epaint`.
///
/// Note: `Fonts::default()` is invalid (missing `pixels_per_point`).
#[derive(Default)]
pub struct Fonts {
pixels_per_point: f32,
definitions: FontDefinitions,