Skip to content

Commit

Permalink
use specific no lint comments
Browse files Browse the repository at this point in the history
Co-authored-by: Rootul Patel <[email protected]>
  • Loading branch information
evan-forbes and rootulp authored Aug 17, 2022
1 parent adedcae commit 240cb03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/inclusion/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package inclusion

// genSubTreeRootPath calculates the path to a given subtree root of a node, given the
// depth and position of the node. note: the root of the tree is depth 0.
// nolint
// The following nolint can be removed after this function is used.
//nolint:unused,deadcode
func genSubTreeRootPath(depth int, pos uint) []bool {
path := make([]bool, depth)
for i := depth; i >= 0; i-- {
Expand Down

0 comments on commit 240cb03

Please sign in to comment.