Skip to content
Snippets Groups Projects
Commit 99730e40 authored by iliya.saroukha's avatar iliya.saroukha
Browse files

added path manipulation module, refactored algo function in main.rs

parent a171623c
No related branches found
No related tags found
No related merge requests found
use std::path::PathBuf;
pub const STRUCT_DIR: &str = "struct/";
pub fn path_algo_project(path: &mut PathBuf, data_struct_name: &String) {
path.push(data_struct_name);
}
pub fn path_struct_folder(path: &mut PathBuf) {
path.push(STRUCT_DIR);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment