@@ -298,12 +298,12 @@ impl Table {
298298 } else {
299299 if & self . primary_key == & column_names[ i] {
300300 continue
301- }
302- }
301+ }
302+ }
303303 } else {
304304 if & self . primary_key == & column_names[ i] {
305305 continue
306- }
306+ }
307307 }
308308
309309 // Getting the rows from the column name
@@ -348,11 +348,11 @@ impl Table {
348348 /// Print the table schema to standard output in a pretty formatted way
349349 ///
350350 /// # Example
351- ///
351+ ///
352352 /// ```
353353 /// let table = Table::new(payload);
354354 /// table.print_table_schema();
355- ///
355+ ///
356356 /// Prints to standard output:
357357 /// +-------------+-----------+-------------+--------+----------+
358358 /// | Column Name | Data Type | PRIMARY KEY | UNIQUE | NOT NULL |
@@ -380,11 +380,11 @@ impl Table {
380380 /// Print the table data to standard output in a pretty formatted way
381381 ///
382382 /// # Example
383- ///
383+ ///
384384 /// ```
385385 /// let db_table = db.get_table_mut(table_name.to_string()).unwrap();
386386 /// db_table.print_table_data();
387- ///
387+ ///
388388 /// Prints to standard output:
389389 /// +----+---------+------------------------+
390390 /// | id | name | email |
@@ -429,8 +429,8 @@ impl Table {
429429 if let Some ( cell) = & columns. get ( i) {
430430 print_table_rows[ i] . add_cell ( PrintCell :: new ( cell) ) ;
431431 } else {
432- print_table_rows[ i] . add_cell ( PrintCell :: new ( "" ) ) ;
433- }
432+ print_table_rows[ i] . add_cell ( PrintCell :: new ( "" ) ) ;
433+ }
434434 }
435435 }
436436
0 commit comments