From 8422e0ada52d8036c32257d84f069776e520079e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 3 May 2026 01:31:04 +0800 Subject: Add missing articles and improve documentation --- mingling_core/src/renderer/general.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mingling_core/src/renderer') diff --git a/mingling_core/src/renderer/general.rs b/mingling_core/src/renderer/general.rs index 4ca2683..3808e5a 100644 --- a/mingling_core/src/renderer/general.rs +++ b/mingling_core/src/renderer/general.rs @@ -4,6 +4,13 @@ use crate::{ use serde::Serialize; pub mod error; + +/// A general renderer that supports multiple serialization formats. +/// +/// The `GeneralRenderer` provides methods to serialize data into various formats +/// including JSON, YAML, TOML, and RON, with support for both regular and +/// pretty-printed variants. It is designed to work with types that implement +/// the `Serialize` trait. pub struct GeneralRenderer; impl GeneralRenderer { -- cgit