def v6.trail

bend-kit-netip@0.1.0.0 · netip.bend:147

import bend-kit-netip@0.1.0.0/netip.bend as Netip
import Base

147# An empty last segment is the second colon of a trailing "::".
148def v6.trail(w: Walk) -> Maybe<&2, Walk>:
149  match w:
150    case Gap{pre, Nil{}}:
151      Some{Gap{pre, Nil{}}}
152    case _:
153      None{}

Uses (3)

Used by (1)