Skip to main content

apply_newline_behavior

Function apply_newline_behavior 

Source
pub fn apply_newline_behavior(text: &str, behavior: NewlineBehavior) -> String
Expand description

Applies a newline behavior to text and returns an owned string.