(context: &mut StringifyContext<'_, '_>, add_comma: bool)
| 373 | |
| 374 | #[inline(always)] |
| 375 | fn append_value(context: &mut StringifyContext<'_, '_>, add_comma: bool) -> Result<bool> { |
| 376 | match write_primitive(context, add_comma)? { |
| 377 | PrimitiveStatus::Written => Ok(true), |
| 378 | PrimitiveStatus::Ignored => Ok(false), |
| 379 | PrimitiveStatus::Iterate(new_value) => { |
| 380 | context.depth += 1; |
| 381 | iterate(context, new_value)?; |
| 382 | Ok(true) |
| 383 | }, |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | #[inline(always)] |
| 388 | fn write_key(string: &mut String, key: &str, indent: bool) { |
no test coverage detected