prepare expanding

This commit is contained in:
Baipyrus 2024-01-25 17:47:16 +01:00
parent c06faa97ff
commit d0f0a31d14

View File

@ -10,6 +10,7 @@ pub fn part_one() {
let input = setup(); let input = setup();
let mut galaxies = extract(input); let mut galaxies = extract(input);
expand(&mut galaxies);
} }
fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> { fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> {
@ -25,6 +26,11 @@ fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> {
galaxies galaxies
} }
fn expand(galaxies: &mut Vec<Galaxy>) {
}
struct Galaxy { struct Galaxy {
x: usize, x: usize,
y: usize, y: usize,