diff --git a/plotters/src/style/colors/mod.rs b/plotters/src/style/colors/mod.rs index 34448ba0..d523362a 100644 --- a/plotters/src/style/colors/mod.rs +++ b/plotters/src/style/colors/mod.rs @@ -1,8 +1,9 @@ //! Basic predefined colors. use super::{RGBAColor, RGBColor}; -// Macro for allowing dynamic creation of doc attributes. // Taken from https://stackoverflow.com/questions/60905060/prevent-line-break-in-doc-test +/// Macro for allowing dynamic creation of doc attributes. +#[macro_export] macro_rules! doc { { $(#[$m:meta])*