cargo fmt
This commit is contained in:
parent
4af6ac25e9
commit
388c2d8e7f
4 changed files with 3 additions and 13 deletions
|
@ -438,8 +438,7 @@ impl FontWeight {
|
|||
}
|
||||
|
||||
/// Allows italic or oblique faces to be selected.
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Debug, Hash)]
|
||||
#[derive(Default)]
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Debug, Hash, Default)]
|
||||
pub enum FontStyle {
|
||||
/// A face that is neither italic not obliqued.
|
||||
#[default]
|
||||
|
@ -450,8 +449,6 @@ pub enum FontStyle {
|
|||
Oblique,
|
||||
}
|
||||
|
||||
|
||||
|
||||
impl Display for FontStyle {
|
||||
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
||||
Debug::fmt(self, f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue