sml
sml copied to clipboard
Grammatical error in the docs.
Expected Text
const auto guard2 = [] -> bool { return true; }
state<class a> + event<e> [ guard2 ] / [](const auto& event) -> void {} // Ok on all supported compilers
Actual Text
const auto guard2 = [] -> bool { return true; }
state<class a> + event<e> [ gurad2 ] / [](const auto& event) -> void {} // Ok on all supported compilers
/* gurad2, not guard2! */
Steps to Reproduce the Problem
- Open official docs.
- Open Overview section.
- Scroll down to the Supported/Tested compilers paragraph.