COLORS don't need to be borrowed

This commit is contained in:
Simon Gardling 2022-05-20 12:47:41 -04:00
parent 2ba11008b5
commit bb3f3c0414

View File

@ -30,7 +30,7 @@ pub const DEFAULT_INTEGRAL_NUM: usize = 100;
/// Colors used for plotting /// Colors used for plotting
// Colors commented out are used elsewhere and are not included here for better user experience // Colors commented out are used elsewhere and are not included here for better user experience
pub const COLORS: &[Color32; 13] = &[ pub const COLORS: [Color32; 13] = [
Color32::RED, Color32::RED,
// Color32::GREEN, // Color32::GREEN,
// Color32::YELLOW, // Color32::YELLOW,