fix: Resolve compilation errors and warnings

Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-09-08 19:07:58 -03:00
parent b88daca131
commit a8542d7dee
3 changed files with 8 additions and 5 deletions

View File

@@ -199,15 +199,18 @@ pub fn create_table_with_config(table_config: &crate::config::TableConfig) -> Ta
table.load_preset(comfy_table::presets::NOTHING);
}
// Add more presets as needed
table
}
}
// Apply modifiers
for modifier in &table_config.modifiers {
match modifier.as_str() {
"UTF8_SOLID_INNER_BORDERS" => table.apply_modifier(comfy_table::modifiers::UTF8_SOLID_INNER_BORDERS),
"UTF8_ROUND_CORNERS" => table.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS),
"UTF8_SOLID_INNER_BORDERS" => {
table.apply_modifier(comfy_table::modifiers::UTF8_SOLID_INNER_BORDERS);
}
"UTF8_ROUND_CORNERS" => {
table.apply_modifier(comfy_table::modifiers::UTF8_ROUND_CORNERS);
}
_ => {} // Ignore unknown modifiers
}
}