This commit is contained in:
parent
29cc3b66ce
commit
3f59679b2c
@ -8,6 +8,14 @@ pub struct Variation<'a> {
|
|||||||
|
|
||||||
pub fn get_variations(elements: Vec<ElementNr>) -> Vec<Variation<'static>> {
|
pub fn get_variations(elements: Vec<ElementNr>) -> Vec<Variation<'static>> {
|
||||||
let mut variations: Vec<Variation> = vec![];
|
let mut variations: Vec<Variation> = vec![];
|
||||||
|
// let mut main_element;
|
||||||
|
// for element in 0..elements.len() {
|
||||||
|
// if main_element < elements[element].nr {
|
||||||
|
// main_element = elements[element];
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// println!("{}", elements[0].nr);
|
||||||
|
|
||||||
variations
|
variations
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user