COLORS don't need to be borrowed
This commit is contained in:
parent
2ba11008b5
commit
bb3f3c0414
@ -30,7 +30,7 @@ pub const DEFAULT_INTEGRAL_NUM: usize = 100;
|
||||
|
||||
/// Colors used for plotting
|
||||
// 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::GREEN,
|
||||
// Color32::YELLOW,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user