Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier committed Sep 19, 2023
1 parent 6b189b8 commit dd6f6ff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/serde/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ func (c container) contains(x container) bool {
return uintptr(x.addr) >= uintptr(c.addr) && uintptr(x.addr)+x.size() <= uintptr(c.addr)+c.size()
}

// Returns true iff c starts before x.
func (c container) before(x container) bool {
return uintptr(c.addr) <= uintptr(x.addr)
}

func (c container) after(x container) bool {
return uintptr(c.addr) > uintptr(x.addr)
}
Expand Down

0 comments on commit dd6f6ff

Please sign in to comment.