Skip to content

Commit e3786e6

Browse files
authored
Fix natspec comment missing * (#5136)
1 parent c1d49a3 commit e3786e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contracts/utils/structs/Heap.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ library Heap {
218218
}
219219
}
220220

221-
/*
221+
/**
222222
* @dev Swap node `i` and `j` in the tree.
223223
*/
224224
function _swap(Uint256Heap storage self, uint64 i, uint64 j) private {
@@ -485,7 +485,7 @@ library Heap {
485485
}
486486
}
487487

488-
/*
488+
/**
489489
* @dev Swap node `i` and `j` in the tree.
490490
*/
491491
function _swap(Uint208Heap storage self, uint24 i, uint24 j) private {

scripts/generate/templates/Heap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function clear(${struct} storage self) internal {
220220
}
221221
}
222222
223-
/*
223+
/**
224224
* @dev Swap node \`i\` and \`j\` in the tree.
225225
*/
226226
function _swap(${struct} storage self, ${indexType} i, ${indexType} j) private {

0 commit comments

Comments
 (0)