Skip to content

Commit

Permalink
Merge pull request #419 from hpux735/doc
Browse files Browse the repository at this point in the history
Export the `doc` macro, to use of `define_color`
  • Loading branch information
AaronErhardt authored Oct 10, 2022
2 parents ccbf9b3 + e1a5836 commit 80621b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plotters/src/style/colors/mod.rs
Original file line number Diff line number Diff line change
@@ -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])*
Expand Down

0 comments on commit 80621b7

Please sign in to comment.