You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As decided in process of developing the CStr RFC [1], this is the way to go
with CStr as an unsized type.
The length of the internal slice is bogus; it only provides safe access to
the first byte for the implementation of .is_empty().
[1] rust-lang/rfcs#592
0 commit comments