Skip to main content

borrow_clone_text

Function borrow_clone_text 

Source
pub fn borrow_clone_text<'a, 'b: 'a>(text: &'b Text<'a>) -> Text<'a>
Expand description

Convert a &Text to a Text by using Cow::Borrowed.