mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: Fix solidity code blocks by using the capitalized name
- This only works with `Solidity`, not with `solidity`.
This commit is contained in:
@@ -637,7 +637,7 @@ Example
|
||||
|
||||
Assume that you have the following contract in ``Source.sol``:
|
||||
|
||||
.. code-block:: solidity
|
||||
.. code-block:: Solidity
|
||||
|
||||
pragma solidity >=0.6.0 <0.6.4;
|
||||
// This will not compile after 0.7.0
|
||||
@@ -691,7 +691,7 @@ It is recommended to explicitly specify the upgrade modules by using ``--modules
|
||||
The command above applies all changes as shown below. Please review them carefully (the pragmas will
|
||||
have to be updated manually.)
|
||||
|
||||
.. code-block:: solidity
|
||||
.. code-block:: Solidity
|
||||
|
||||
pragma solidity >0.6.99 <0.8.0;
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
|
||||
Reference in New Issue
Block a user