diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2023-08-14 22:27:36 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 06:27:36 +0200 |
commit | a660c17d309e2b077c610fd8c8c697944cff676d (patch) | |
tree | 054ef224e4088c4a376cad7c7ca508086e358024 /lib/pure/options.nim | |
parent | 1927ae72d093d5e13bef6fd3fdf4700aa072f6bc (diff) | |
download | Nim-a660c17d309e2b077c610fd8c8c697944cff676d.tar.gz |
Markdown code blocks migration part 8 (#22478)
Diffstat (limited to 'lib/pure/options.nim')
-rw-r--r-- | lib/pure/options.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/options.nim b/lib/pure/options.nim index 9dc4e096b..ec384ceb4 100644 --- a/lib/pure/options.nim +++ b/lib/pure/options.nim @@ -53,7 +53,7 @@ Pattern matching supports pattern matching on `Option`s, with the `Some(<pattern>)` and `None()` patterns. -.. code-block:: nim + ```nim {.experimental: "caseStmtMacros".} import fusion/matching @@ -65,6 +65,7 @@ supports pattern matching on `Option`s, with the `Some(<pattern>)` and assert false assertMatch(some(some(none(int))), Some(Some(None()))) + ``` ]## # xxx pending https://github.com/timotheecour/Nim/issues/376 use `runnableExamples` and `whichModule` |