aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-06-23 19:55:02 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-06-23 19:55:02 +0800
commit82af1df3c3d62ab0a0dd4687bf9bb65d3b261054 (patch)
tree6446c44534fe82d809aba631cf3dbe5c6b35e5dc /packages/contracts
parentea8c2b8d6923f37412cefcb8dc8482e009dce104 (diff)
downloaddexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar.gz
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar.bz2
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar.lz
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar.xz
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.tar.zst
dexon-sol-tools-82af1df3c3d62ab0a0dd4687bf9bb65d3b261054.zip
Fix typos in comments
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol b/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol
index 81cd99cff..e4cbf318b 100644
--- a/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol
+++ b/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol
@@ -188,12 +188,12 @@ library LibBytes {
return result;
}
- /// @dev Returns a slices from a byte array without preserving the input.
+ /// @dev Returns a slice from a byte array without preserving the input.
/// @param b The byte array to take a slice from. Will be destroyed in the process.
/// @param from The starting index for the slice (inclusive).
/// @param to The final index for the slice (exclusive).
/// @return result The slice containing bytes at indices [from, to)
- /// @dev When `from == 0`, the original array will match the slice. In other cases it's state will be corrupted.
+ /// @dev When `from == 0`, the original array will match the slice. In other cases its state will be corrupted.
function sliceDestructive(bytes memory b, uint256 from, uint256 to)
internal
pure