(md: &mut Md, value: &Value, depth: u8)
| 514 | } |
| 515 | |
| 516 | fn render_value(md: &mut Md, value: &Value, depth: u8) { |
| 517 | match value { |
| 518 | Value::Array(arr) => render_array(md, arr, depth), |
| 519 | Value::Object(map) => render_object(md, map, depth), |
| 520 | other => { |
| 521 | md.line(&scalar_str(other)); |
| 522 | } |
| 523 | } |
| 524 | } |
| 525 | |
| 526 | fn render_array(md: &mut Md, arr: &[Value], depth: u8) { |
| 527 | if arr.is_empty() { |
no test coverage detected