From a15218f8edefd0c0e3edeb97360ba336c9eced3a Mon Sep 17 00:00:00 2001 From: waltergu Date: Wed, 11 Sep 2024 22:44:05 +0800 Subject: [PATCH] Fix doc of `dissolve`. --- src/Toolkit.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Toolkit.jl b/src/Toolkit.jl index 59b8f871..fd7851bb 100644 --- a/src/Toolkit.jl +++ b/src/Toolkit.jl @@ -693,8 +693,8 @@ dissolve(m, Val(name), f, args...; kwargs...) Here, `name` is the name of the corresponding content of `m`. Basically, the rule of how `f` operates on each field of `m` can be overridden by redefining the above `dissolve` function. -!!!note - The default `dissolve` function ignores the operation of function `f` and just return the content value of `m`. +!!! note + The default `dissolve` function ignores the operation of function `f` and just return the content value of `m`. """ @inline dissolve(m, f::Function=identity, args...; kwargs...) = dissolvehelper(m, Val(contentnames(typeof(m))), f, args...; kwargs...) @inline @generated function dissolvehelper(m, ::Val{names}, f::Function, args...; kwargs...) where names