From 039c51c4e8c472bb134bb9fbcf172b5a28f7da0d Mon Sep 17 00:00:00 2001 From: "iliya.saroukha" <iliya.saroukha@hes-so.ch> Date: Fri, 10 Feb 2023 14:30:31 +0100 Subject: [PATCH] removed public attr from algo and exam trees --- src/to_stdout/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/to_stdout/mod.rs b/src/to_stdout/mod.rs index de14034..cb8634d 100644 --- a/src/to_stdout/mod.rs +++ b/src/to_stdout/mod.rs @@ -1,6 +1,6 @@ use ptree::{print_tree, TreeBuilder}; -pub fn algo_tree() { +fn algo_tree() { let tree = TreeBuilder::new("<name_data_struct>".to_string()) .begin_child("struct".to_string()) .add_empty_child("<name_data_struct>.h".to_string()) @@ -14,7 +14,7 @@ pub fn algo_tree() { println!(); } -pub fn exam_tree() { +fn exam_tree() { let tree = TreeBuilder::new("prog_seq_exam_<month>".to_string()) .begin_child("ex1".to_string()) .add_empty_child("ex1.c".to_string()) -- GitLab