Skip to content

Commit 3f3d6b6

Browse files
committed
codespell
1 parent 70855f7 commit 3f3d6b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contracts/utils/Bytes.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ library Bytes {
6868
}
6969

7070
/**
71-
* @dev Copies the content of `buffer`, for `start` (included) to the end of `buffer` into a new bytes object in
71+
* @dev Copies the content of `buffer`, from `start` (included) to the end of `buffer` into a new bytes object in
7272
* memory.
7373
*
7474
* NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
@@ -78,7 +78,7 @@ library Bytes {
7878
}
7979

8080
/**
81-
* @dev Copies the content of `buffer`, for `start` (included) to the `end` (exluded) into a new bytes object in
81+
* @dev Copies the content of `buffer`, from `start` (included) to `end` (excluded) into a new bytes object in
8282
* memory.
8383
*
8484
* NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice

contracts/utils/Strings.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ library StringsUnreleased {
362362
uint256 expectedLength = hasPrefix ? 42 : 40;
363363

364364
if (end - begin == expectedLength) {
365-
// length garantees that this does not overflow, and value2 is at most type(uint160).max
365+
// length guarantees that this does not overflow, and value2 is at most type(uint160).max
366366
(bool s, uint256 v) = tryParseHex(input, begin, end);
367367
return (s, address(uint160(v)));
368368
} else {

0 commit comments

Comments
 (0)