Skip to main content

fold_byte_str

Function fold_byte_str 

Source
pub fn fold_byte_str<'new, 'src>(
    value: ByteStr<'_, 'src>,
    arena: &'new Bump,
) -> ByteStr<'new, 'src>
Expand description

Moves a ByteStr into the output arena of a fold: a string borrowed from the source stays borrowed, anything else is copied into arena.