aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/renderer/structural
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/renderer/structural')
-rw-r--r--mingling_core/src/renderer/structural/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_core/src/renderer/structural/error.rs b/mingling_core/src/renderer/structural/error.rs
index a7fbc75..63ded81 100644
--- a/mingling_core/src/renderer/structural/error.rs
+++ b/mingling_core/src/renderer/structural/error.rs
@@ -9,6 +9,7 @@ pub struct StructuralRendererSerializeError {
}
impl StructuralRendererSerializeError {
+ /// Creates a new `StructuralRendererSerializeError` with the given error message.
#[must_use]
pub fn new(error: String) -> Self {
Self { error }