Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
gdk: Fix per phantom field removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Feb 22, 2022
1 parent f176d5b commit c4e91b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions gdk/src/rgba.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ impl RGBA {
blue: 0f64,
alpha: 1f64,
},
phantom: std::marker::PhantomData,
};

pub const BLUE: RGBA = RGBA {
Expand All @@ -82,7 +81,6 @@ impl RGBA {
blue: 1f64,
alpha: 1f64,
},
phantom: std::marker::PhantomData,
};

pub const GREEN: RGBA = RGBA {
Expand All @@ -92,7 +90,6 @@ impl RGBA {
blue: 0f64,
alpha: 1f64,
},
phantom: std::marker::PhantomData,
};

pub const RED: RGBA = RGBA {
Expand All @@ -102,7 +99,6 @@ impl RGBA {
blue: 0f64,
alpha: 1f64,
},
phantom: std::marker::PhantomData,
};

pub const WHITE: RGBA = RGBA {
Expand All @@ -112,7 +108,6 @@ impl RGBA {
blue: 1f64,
alpha: 1f64,
},
phantom: std::marker::PhantomData,
};
}

Expand Down

0 comments on commit c4e91b7

Please sign in to comment.