diff --git a/docs/literals.md b/docs/literals.md index 8ed42f0b..6671a490 100644 --- a/docs/literals.md +++ b/docs/literals.md @@ -32,8 +32,8 @@ switch(my_literal.value()) { } ``` -Literals are stored as `uint8_t` or `uint16_t` under-the-hood. But you can extract their name using `.name()` as a string -or the underlying value using `.value`. +Literals are stored as `uint8_t` or `uint16_t` under-the-hood. But you can extract their name as a string using `.name()` +or the underlying value using `.value()`. ```cpp using MyLiteral = rfl::Literal<"option1", "option2", ...>;