Skip to content

Commit cef0f1b

Browse files
authored
Merge pull request #11818 from ethereum/fix-bad-bash-highlighting-in-optimizer-rst
Fix incorrect Bash highlighting in a Yul code snippet
2 parents 729db52 + f794539 commit cef0f1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/internals/optimizer.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,8 @@ By default the optimizer applies its predefined sequence of optimization steps t
321321
the generated assembly. You can override this sequence and supply your own using
322322
the ``--yul-optimizations`` option:
323323

324-
.. code-block:: text
324+
.. code-block:: bash
325325
326-
bash
327326
solc --optimize --ir-optimized --yul-optimizations 'dhfoD[xarrscLMcCTU]uljmul'
328327
329328
The sequence inside ``[...]`` will be applied multiple times in a loop until the Yul code

0 commit comments

Comments
 (0)