Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed May 13, 2024
1 parent 4cf7274 commit 0d69936
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/typing/columns/columns.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ func (c *Columns) DeleteColumn(name string) {
}
}

// RemoveDeleteColumnMarker removes the deleted column marker from a slice if present and returns whether or not it was removed.
func RemoveDeleteColumnMarker(cols []Column) ([]Column, bool) {
origLength := len(cols)
// Use [slices.Clone] because [slices.DeleteFunc] mutates its inputs.
Expand Down

0 comments on commit 0d69936

Please sign in to comment.