mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 03:52:35 +00:00
types/views: rename Generic to Unwrap
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
1e12a29806
commit
bd073b8dd6
@ -84,8 +84,8 @@ func (v IPPrefixSlice) AppendTo(dst []netaddr.IPPrefix) []netaddr.IPPrefix {
|
|||||||
return v.ж.AppendTo(dst)
|
return v.ж.AppendTo(dst)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generic returns the underlying Slice[netaddr.IPPrefix].
|
// Unwrap returns the underlying Slice[netaddr.IPPrefix].
|
||||||
func (v IPPrefixSlice) Generic() Slice[netaddr.IPPrefix] {
|
func (v IPPrefixSlice) Unwrap() Slice[netaddr.IPPrefix] {
|
||||||
return v.ж
|
return v.ж
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user