macro_rules! docstring { ($(#[doc = $doc:expr])*) => { ... }; }
Expand description
Convenience macro for extracting a documentation string from documentation comments.
ยงExamples
let docs: [&'static str; 3] = rune::docstring! {
/// Hi, this is some documentation.
///
/// I hope you like it!
};