diff --git a/doc/rust.md b/doc/rust.md index 14efa3fcead..06840fd0215 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1117,6 +1117,7 @@ a = Cat{ name: ~"Spotty", weight: 2.7 }; In this example, `Cat` is a _struct-like enum variant_, whereas `Dog` is simply called an enum variant. + ### Constants ~~~~~~~~ {.ebnf .gram}