(a: &str, b: &str)
| 404 | } |
| 405 | |
| 406 | merged |
| 407 | } |
| 408 | |
| 409 | fn join_class(a: &str, b: &str) -> String { |
| 410 | let (a, b) = (a.trim(), b.trim()); |
| 411 | if !a.is_empty() && !b.is_empty() { |
| 412 | format!("{a} {b}") |
| 413 | } else { |
| 414 | format!("{a}{b}") |
| 415 | } |
| 416 | } |
no test coverage detected