Closed casey closed 1 month ago
@raphjaph Option<T> actually has an as_slice method which returns a zero or one length slice depending on whether the Option is Some.
Option<T>
as_slice
Option
Some
@raphjaph
Option<T>
actually has anas_slice
method which returns a zero or one length slice depending on whether theOption
isSome
.