Skip to content

Split current "macro_rules" chapter ", cover more topics #110

@japaric

Description

@japaric

This chapter needs splitting:

  • intro: macro_rules is behind a feature gate + simple example (no arguments)
  • arguments and designators: $foo:expr
  • variable number of arguments: I would like to use @vks range! example here
  • commas are not needed to separate the arguments: do!($this and $that)
  • + and * expansion
  • stay DRY: generating test suite / trait implementations using macros

We also want to cover:

  • How to link "macro" crates #[phase(plugin)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions