dprint_core::configuration

Function resolve_new_line_kind

source
pub fn resolve_new_line_kind(
    file_text: &str,
    new_line_kind: NewLineKind,
) -> &'static str
Expand description

Resolves the NewLineKind text from the provided file text and NewLineKind.