Skip to main content

extern_spec_str_split_at

Function extern_spec_str_split_at 

Source
pub fn extern_spec_str_split_at(self_: &str, ix: usize) -> (&str, &str)
Expand description

extern spec for str::split_at

This is not a real function: its only use is for documentation.

ghost

requires

self@.len() && self

ensures

self

ensures

result.0@.to_bytes().len() == ix@