Remove unneeded pub

This commit is contained in:
mo8it
2024-05-22 15:04:12 +02:00
parent d0b843d6c4
commit 3bb71c6b0c
18 changed files with 30 additions and 30 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
// Note: the tests should not be changed
#[derive(PartialEq, Debug)]
pub enum List {
enum List {
Cons(i32, List),
Nil,
}
@@ -28,11 +28,11 @@ fn main() {
);
}
pub fn create_empty_list() -> List {
fn create_empty_list() -> List {
todo!()
}
pub fn create_non_empty_list() -> List {
fn create_non_empty_list() -> List {
todo!()
}