try to continue get_variations func
Some checks failed
CI / Rust project (push) Failing after 49s

This commit is contained in:
fabolous005 2023-12-06 14:19:43 +01:00
parent 29cc3b66ce
commit 3f59679b2c

View File

@ -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
} }