Function split_once

Source
fn lain_semver_core::split_once(text: const u8[:], separator: u8) -> const u8[:], const u8[:], bool

Both views always borrow text, even when no separator is present. The bool distinguishes an absent field from a present-but-empty field.

Details

Markdown record · JSON record

Stable item IDsemver_core::lain_semver_core::split_once#function@semver_core.goose:6e217fef9f160ff4