Skip to content

Commit f066e91

Browse files
authored
Merge pull request #4 from git-user-cpp/AndyKushyk-implemented-TableHolder-logic
comments were replaced by todo!() macro
2 parents 910ac9f + 308a99a commit f066e91

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/main_module/data/data_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ impl DataHandler {
3737
}
3838

3939
pub fn create_new_table() {
40-
//TODO: implement
40+
todo!()
4141
}
4242

4343
pub fn insert_into_table() {
44-
//TODO: implement
44+
todo!()
4545
}
4646
}

src/main_module/data/table.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,54 +46,54 @@ impl Table {
4646

4747
//TODO: implement all these functions
4848
fn generate_unique_id() {
49-
//TODO: implement
49+
todo!()
5050
}
5151

5252
fn verify_id() {
53-
//TODO: implement
53+
todo!()
5454
}
5555

5656
fn verify_field() {
57-
//TODO: implement
57+
todo!()
5858
}
5959

6060
fn verify_rows() {
61-
//TODO: implement
61+
todo!()
6262
}
6363

6464
fn verify_column_names_correct() {
65-
//TODO: implement
65+
todo!()
6666
}
6767

6868
fn verify_id_and_field() {
69-
//TODO: implement
69+
todo!()
7070
}
7171

7272
fn verify_id_and_columns() {
73-
//TODO: implement
73+
todo!()
7474
}
7575

7676
pub fn row_is_empty() {
77-
//TODO: implement
77+
todo!()
7878
}
7979

8080
pub fn get_field_value() {
81-
//TODO: implement
81+
todo!()
8282
}
8383

8484
pub fn add_row() {
85-
//TODO: implement
85+
todo!()
8686
}
8787

8888
pub fn return_row() {
89-
//TODO: implement
89+
todo!()
9090
}
9191

9292
pub fn remove_row() {
93-
//TODO: implement
93+
todo!()
9494
}
9595

9696
pub fn update_row_field_values() {
97-
//TODO: implement
97+
todo!()
9898
}
9999
}

0 commit comments

Comments
 (0)