From 1198f2b81a845bd475594cdf42d04e7bd750ebd2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 14 Aug 2026 00:23:06 +0800 Subject: chore: add "Doc Not Optimize" comments to source files Mark all source files with a comment indicating they are not optimized for documentation purposes. --- mingling_core/src/renderer/render_result.rs | 1 + mingling_core/src/renderer/structural.rs | 1 + mingling_core/src/renderer/structural/error.rs | 1 + mingling_core/src/renderer/structural/structural_data.rs | 1 + 4 files changed, 4 insertions(+) (limited to 'mingling_core/src/renderer') diff --git a/mingling_core/src/renderer/render_result.rs b/mingling_core/src/renderer/render_result.rs index a14bfda..4857a88 100644 --- a/mingling_core/src/renderer/render_result.rs +++ b/mingling_core/src/renderer/render_result.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use std::{ fmt::{Display, Formatter}, io::Write, diff --git a/mingling_core/src/renderer/structural.rs b/mingling_core/src/renderer/structural.rs index 0449e72..aeb637f 100644 --- a/mingling_core/src/renderer/structural.rs +++ b/mingling_core/src/renderer/structural.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use crate::{ ProgramCollect, RenderResult, StructuralRendererSetting, renderer::structural::error::StructuralRendererSerializeError, diff --git a/mingling_core/src/renderer/structural/error.rs b/mingling_core/src/renderer/structural/error.rs index 2787dff..af886e1 100644 --- a/mingling_core/src/renderer/structural/error.rs +++ b/mingling_core/src/renderer/structural/error.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize /// Represents an error that occurs during serialization of a structural renderer. /// /// This error stores a human-readable message describing what went wrong diff --git a/mingling_core/src/renderer/structural/structural_data.rs b/mingling_core/src/renderer/structural/structural_data.rs index 583808c..ab97e97 100644 --- a/mingling_core/src/renderer/structural/structural_data.rs +++ b/mingling_core/src/renderer/structural/structural_data.rs @@ -1,3 +1,4 @@ +// Doc Not Optimize use serde::Serialize; use crate::ProgramCollect; -- cgit