Add solidity language to missing code snippets (#3992)

This commit is contained in:
Ernesto García
2023-01-24 15:00:03 -06:00
committed by GitHub
parent b1c2c43d6a
commit a34dd8bb1b
9 changed files with 13 additions and 12 deletions

View File

@ -12,7 +12,7 @@ import "../math/SafeCast.sol";
*
* The struct is called `Bytes32Deque`. Other types can be cast to and from `bytes32`. This data structure can only be
* used in storage, and not in memory.
* ```
* ```solidity
* DoubleEndedQueue.Bytes32Deque queue;
* ```
*

View File

@ -17,7 +17,7 @@ import "./EnumerableSet.sol";
* (O(1)).
* - Entries are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableMap for EnumerableMap.UintToAddressMap;

View File

@ -15,7 +15,7 @@ pragma solidity ^0.8.0;
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;