ratatui / ratatui-macros

Macros for simplifying boilerplate for creating UI using Ratatui.
https://ratatui.rs
MIT License
28 stars 2 forks source link

feat: Better error messages for `span!` macro #43

Closed kdheepak closed 6 months ago

kdheepak commented 6 months ago

With this PR, if a user accidentally uses , as a separator when the first argument is a style, they'll will get a better compiler error message:

image

This also updates the docstrings to reiterate that , must be used for format specifier and ; must be used for style.