Attribute Macros§

  • Makes all the number/bool/char literals in a function tweakable.
    Doesn’t apply to literals in macros as they cannot be replaced by expressions reliably. (e.g in calls to println!)
  • Makes all the number/bool/char literals in a function tweakable.
    Doesn’t apply to literals in macros as they cannot be replaced by expressions reliably. (e.g in calls to println!)