Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
Amxx committed Jul 26, 2023
commit 53ac10df9aaf4627fe502d0d8ba385371bfd03ed
2 changes: 1 addition & 1 deletion contracts/utils/structs/DoubleEndedQueue.sol
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ library DoubleEndedQueue {
*/
function at(Bytes32Deque storage deque, uint256 index) internal view returns (bytes32 value) {
if (index >= length(deque)) revert QueueOutOfBounds();
// by construction, length is a uint128, so the check enshures that index can safelly be casted to a uint128.
// by construction, length is a uint128, so the check enshures that index can safelly be casted to a uint128.
unchecked {
return deque._data[deque._begin + uint128(index)];
}
Expand Down