Closed nvzqz closed 4 years ago
Implemented as a type-level function to prevent accidentally calling any future slice methods. This is a convention used by smart pointers.
Alternative: users manually call contains on the result of as_ptr_range (#33).
contains
as_ptr_range
Implemented as a type-level function to prevent accidentally calling any future slice methods. This is a convention used by smart pointers.
Alternative: users manually call
contains
on the result ofas_ptr_range
(#33).