To support better interop with thiserror displaydoc should attempt to first look for #[error("..")] and #[error(transparent)] attributes before looking for doc attributes, this will allow displaydoc to only use a subset of the doc comments for the display implementation so you can derive more complicated displays without ruining your documentation.
To support better interop with thiserror
displaydocshould attempt to first look for#[error("..")]and#[error(transparent)]attributes before looking for doc attributes, this will allow displaydoc to only use a subset of the doc comments for the display implementation so you can derive more complicated displays without ruining your documentation.