Fix typographical errors (#5194)

This commit is contained in:
cairo
2024-09-13 19:26:46 +02:00
committed by GitHub
parent cae60c595b
commit 6e224307b4
9 changed files with 29 additions and 29 deletions

View File

@ -91,7 +91,7 @@ library CircularBuffer {
}
/**
* @dev Length of the buffer. This is the maximum number of elements kepts in the buffer.
* @dev Length of the buffer. This is the maximum number of elements kept in the buffer.
*/
function length(Bytes32CircularBuffer storage self) internal view returns (uint256) {
return self._data.length;

View File

@ -43,7 +43,7 @@ library Heap {
using SafeCast for *;
/**
* @dev Binary heap that support values of type uint256.
* @dev Binary heap that supports values of type uint256.
*
* Each element of that structure uses 2 storage slots.
*/
@ -235,7 +235,7 @@ library Heap {
/**
* @dev Perform heap maintenance on `self`, starting at position `pos` (with the `value`), using `comp` as a
* comparator, and moving toward the leafs of the underlying tree.
* comparator, and moving toward the leaves of the underlying tree.
*
* NOTE: This is a private function that is called in a trusted context with already cached parameters. `length`
* and `value` could be extracted from `self` and `pos`, but that would require redundant storage read. These
@ -309,7 +309,7 @@ library Heap {
}
/**
* @dev Binary heap that support values of type uint208.
* @dev Binary heap that supports values of type uint208.
*
* Each element of that structure uses 1 storage slots.
*/
@ -501,7 +501,7 @@ library Heap {
/**
* @dev Perform heap maintenance on `self`, starting at position `pos` (with the `value`), using `comp` as a
* comparator, and moving toward the leafs of the underlying tree.
* comparator, and moving toward the leaves of the underlying tree.
*
* NOTE: This is a private function that is called in a trusted context with already cached parameters. `length`
* and `value` could be extracted from `self` and `pos`, but that would require redundant storage read. These