Compare commits
4 commits
a80359343b
...
b6e579408f
| Author | SHA1 | Date | |
|---|---|---|---|
|
b6e579408f |
|||
|
9176b764b0 |
|||
|
6d42ac0f48 |
|||
|
7b841cbd9a |
1 changed files with 2 additions and 2 deletions
|
|
@ -1624,8 +1624,8 @@ fn safe_col_width_css(w: &str) -> Option<String> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Convert a snake_case JSON key to a human-readable title.
|
/// Convert a `snake_case` JSON key to a human-readable title.
|
||||||
/// `avg_file_size_bytes` → `Avg File Size Bytes`
|
/// `avg_file_size_bytes` -> `Avg File Size Bytes`
|
||||||
fn format_key_name(key: &str) -> String {
|
fn format_key_name(key: &str) -> String {
|
||||||
key
|
key
|
||||||
.split('_')
|
.split('_')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue