Currently when multi-line doc strings are used the error message
Multi-line comments are disabled by default by displaydoc. Please consider using block doc comments (/** */) or adding the #[ignore_extra_doc_attributes] attribute to your type next to the derive.
is output.
This create an issue where cargo fmt as used on a repo may enforce using /// comments which creates a conflict.
It would be better to collect these lines into a string, e.g.
Currently when multi-line doc strings are used the error message
is output.
This create an issue where
cargo fmtas used on a repo may enforce using///comments which creates a conflict.It would be better to collect these lines into a string, e.g.
#[doc="first\nsecond"]