Skip to content

Commit

Permalink
Fix comment backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Dec 24, 2024
1 parent e0d9d35 commit 31b93d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/utils/DynamicArrayLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ library DynamicArrayLib {
// Low level minimalist uint256 array operations.
// If you don't need syntax sugar, it's recommended to use these.
// Some of these functions returns the same array for function chaining.
// `e.g. `array.set(0, 1).set(1, 2)`.
// e.g. `array.set(0, 1).set(1, 2)`.

/// @dev Returns a uint256 array with `n` elements. The elements are not zeroized.
function malloc(uint256 n) internal pure returns (uint256[] memory result) {
Expand Down Expand Up @@ -334,7 +334,7 @@ library DynamicArrayLib {
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

// Some of these functions returns the same array for function chaining.
// `e.g. `a.p("1").p("2")`.
// e.g. `a.p("1").p("2")`.

/// @dev Shorthand for `a.data.length`.
function length(DynamicArray memory a) internal pure returns (uint256) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DynamicBufferLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ library DynamicBufferLib {
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

// Some of these functions returns the same buffer for function chaining.
// `e.g. `buffer.p("1").p("2")`.
// e.g. `buffer.p("1").p("2")`.

/// @dev Shorthand for `buffer.data.length`.
function length(DynamicBuffer memory buffer) internal pure returns (uint256) {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/g/DynamicArrayLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ library DynamicArrayLib {
// Low level minimalist uint256 array operations.
// If you don't need syntax sugar, it's recommended to use these.
// Some of these functions returns the same array for function chaining.
// `e.g. `array.set(0, 1).set(1, 2)`.
// e.g. `array.set(0, 1).set(1, 2)`.

/// @dev Returns a uint256 array with `n` elements. The elements are not zeroized.
function malloc(uint256 n) internal pure returns (uint256[] memory result) {
Expand Down Expand Up @@ -338,7 +338,7 @@ library DynamicArrayLib {
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

// Some of these functions returns the same array for function chaining.
// `e.g. `a.p("1").p("2")`.
// e.g. `a.p("1").p("2")`.

/// @dev Shorthand for `a.data.length`.
function length(DynamicArray memory a) internal pure returns (uint256) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/g/DynamicBufferLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ library DynamicBufferLib {
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

// Some of these functions returns the same buffer for function chaining.
// `e.g. `buffer.p("1").p("2")`.
// e.g. `buffer.p("1").p("2")`.

/// @dev Shorthand for `buffer.data.length`.
function length(DynamicBuffer memory buffer) internal pure returns (uint256) {
Expand Down

0 comments on commit 31b93d3

Please sign in to comment.