Skip to content

Commit c4e38a1

Browse files
author
William Dillon
committed
Export the doc macro, to use of define_color
1 parent c202b9c commit c4e38a1

File tree

1 file changed

+1
-0
lines changed
  • plotters/src/style/colors

1 file changed

+1
-0
lines changed

plotters/src/style/colors/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use super::{RGBAColor, RGBColor};
33

44
// Macro for allowing dynamic creation of doc attributes.
55
// Taken from https://stackoverflow.com/questions/60905060/prevent-line-break-in-doc-test
6+
#[macro_export]
67
macro_rules! doc {
78
{
89
$(#[$m:meta])*

0 commit comments

Comments
 (0)