File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ library Bytes {
68
68
}
69
69
70
70
/**
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
72
72
* memory.
73
73
*
74
74
* 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 {
78
78
}
79
79
80
80
/**
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
82
82
* memory.
83
83
*
84
84
* NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ library StringsUnreleased {
362
362
uint256 expectedLength = hasPrefix ? 42 : 40 ;
363
363
364
364
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
366
366
(bool s , uint256 v ) = tryParseHex (input, begin, end);
367
367
return (s, address (uint160 (v)));
368
368
} else {
You can’t perform that action at this time.
0 commit comments