Skip to main content

charsxp_to_cow

Function charsxp_to_cow 

Source
pub(crate) unsafe fn charsxp_to_cow(charsxp: SEXP) -> Cow<'static, str>
Expand description

charsxp_to_cow is now just an alias — all CHARSXPs are UTF-8 (asserted at init), so there’s no non-UTF-8 fallback path. Returns Cow::Borrowed.