Skip to content

Commit 80621b7

Browse files
authored
Merge pull request #419 from hpux735/doc
Export the `doc` macro, to use of `define_color`
2 parents ccbf9b3 + e1a5836 commit 80621b7

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

plotters/src/style/colors/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
//! Basic predefined colors.
22
use super::{RGBAColor, RGBColor};
33

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

0 commit comments

Comments
 (0)