Commit d3fbf3d9 by github-actions

Transpile 9eb66c30

parent a11da358
...@@ -102,6 +102,8 @@ library DoubleEndedQueueUpgradeable { ...@@ -102,6 +102,8 @@ library DoubleEndedQueueUpgradeable {
/** /**
* @dev Returns the item at the beginning of the queue. * @dev Returns the item at the beginning of the queue.
*
* Reverts with `Empty` if the queue is empty.
*/ */
function front(Bytes32Deque storage deque) internal view returns (bytes32 value) { function front(Bytes32Deque storage deque) internal view returns (bytes32 value) {
if (empty(deque)) revert Empty(); if (empty(deque)) revert Empty();
...@@ -111,6 +113,8 @@ library DoubleEndedQueueUpgradeable { ...@@ -111,6 +113,8 @@ library DoubleEndedQueueUpgradeable {
/** /**
* @dev Returns the item at the end of the queue. * @dev Returns the item at the end of the queue.
*
* Reverts with `Empty` if the queue is empty.
*/ */
function back(Bytes32Deque storage deque) internal view returns (bytes32 value) { function back(Bytes32Deque storage deque) internal view returns (bytes32 value) {
if (empty(deque)) revert Empty(); if (empty(deque)) revert Empty();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment